This quick start gets you started with the DateEdit control by letting you create a WinForms application, add DateEdit control to it, and set a specific date in DateEdit.
To quickly get started using the control, follow these steps:
C# |
Copy Code
|
---|---|
C1DateEdit dateEdit = new C1DateEdit();
|
C# |
Copy Code
|
---|---|
// set DateEdit size and location dateEdit.Size = new System.Drawing.Size(150, 20); dateEdit.Location = new System.Drawing.Point(330, 126); |
C# |
Copy Code
|
---|---|
// set the Value property to a date or time value. dateEdit.Value = new DateTime(2021, 01, 05); |