如何在Windows应用程序的DateTimepicker中获取两个canlenders. [英] How to Get two canlenders in DateTimepicker in Windows application.
本文介绍了如何在Windows应用程序的DateTimepicker中获取两个canlenders.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
先生,
我在Windows应用程序中使用DateTimePicker.当我单击它时,我会得到最新的
月历.我的要求是当我选择DateTime选择器时,它应该显示当前月份"和下个月日历".
有什么办法可以帮助我.
谢谢与问候
O.kranthi kumar
M.C.A
Sir,
I am using DateTimePicker in Windows application. When i am clicked it I got current
month calender. My requirement is when I am selecting DateTime picker It should display Current month & next month Calenders.
Is there any way please help me.
Thanks & Regards
O.kranthi kumar
M.C.A
推荐答案
AFAIK,DateTimePicker仅允许您显示一个月的数据.要显示两个,您可能必须创建自己的用户控件,其中包含两个单独的DateTime Pickers.可能很复杂,我没有尝试过.为什么需要这个?
有没有为此提供的用户控件,请发送给我"
阅读以下文字:"您您可能必须创建自己的用户控件"
如果我知道这一点,我将提供一个链接! :laugh:
AFAIK, a DateTimePicker will only allow you to show a single month worth of data. To show two, you will probably have to create your own user control, containing two individual DateTime Pickers. Might be complicated, I haven''t tried. Why do you need this?
"Is there any user control for that please send me"
Read the words: "you will probably have to create your own user control"
If I knew of such, I would have given a link! :laugh:
这篇关于如何在Windows应用程序的DateTimepicker中获取两个canlenders.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文