在Windows应用程序中选择日历时如何禁用DatetimePicker中的日历
问题描述:
先生,
我在Windows应用程序中使用DateTimepicker.
我的要求是,当我选择Datetimepicker时,我想隐藏DropDown日历.
您能帮我吗
谢谢与问候
Kranthi kumar
sir,
Iam using DateTimepicker in windows application.
My requirement is when iam selecting Datetimepicker I want to hide The DropDown Calender.
Could you pls help me
Thanks & Regards
Kranthi kumar
答
尝试一下.
Try this.
DatetimePicker1.ShowUpDown = True;
将ShowUpDown
属性设置为true