在Windows应用程序中选择日历时如何禁用DatetimePicker中的日历 [英] how to disable calender in DatetimePicker when It is selected in windows application
本文介绍了在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
这篇关于在Windows应用程序中选择日历时如何禁用DatetimePicker中的日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文