//NullableDateTimePicker is the class from which DateTimePickerEditingControl class inherits. //IDataGridViewEditingControl is the interface which DateTimePickerEditingControl class implements. class DateTimePickerEditingControl : NullableDateTimePicker, IDataGridViewEditingControl { //Constructor public DateTimePickerEditingControl() { this.Format = DateTimePickerFormat.Custom; this.CustomFormat = "dd MMM yyyy"; } }
|