开发者

date select , openFileDialog equivalent

i need to select a date in my winforms app and wish to find something like an openFileDialog, and that is when i click on a button, a calendar shows up and lets me select a date. Is there such a function built i开发者_JAVA技巧n c# ?


You don't have it as a Dialog window, but you have a component called DateTimePicker.

If you really need it on a dialog window, you can put this component on it's own form and open that form with ShowDialog.

A bit more manual work, but it should work just fine.


Your best bet is the DateTimePicker.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜