如何在窗口应用程序中显示calader [英] how to show calader in window application
本文介绍了如何在窗口应用程序中显示calader的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,先生,
我正在C#中使用WINDOW FORM应用程序,当用户单击文本框时,我会有一个文本框,日历应出现,并且所选日期应显示在文本框上.
Hi sir,
I am working on WINDOW FORM Application in C#, I have a text box when the user clicks on text box a calendar should appear, and the selected date should display on text box.
推荐答案
查看 DateTimePicker [
Look at a DateTimePicker[^] control - it does what you want!
这是一个糟糕的UI设计.您使用了错误的控件.使用DateTimePicker有什么问题?它旨在让用户提供日期时间输入.
It is a bad UI design. You are using wrong controls. What is the problem with using DateTimePicker? It is meant to let user provide datetime input.
这篇关于如何在窗口应用程序中显示calader的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文