DateTimePicker selection only with DropDown
问题 I want to use DateTimePicker in my Form, but I need user to select date only w/ DropDown and I'm trying to disable picking in DateTimePicker itself (e.g. by pressing KeyUp/Down). //this.dtp_datum_pracVykaz.ValueChanged += new System.EventHandler(this.dtp_datum_pracVykaz_ValueChanged); this.dtp_datum_pracVykaz.DropDown += dtp_datum_pracVykaz_DropDown; this.dtp_datum_pracVykaz.CloseUp += dtp_datum_pracVykaz_CloseUp; Where void dtp_datum_pracVykaz_DropDown(object sender, System.EventArgs e) {