获取在文本框中日期从月历在C#按钮 [英] Get Date in Text Box from month calendar with button in c#

查看:131
本文介绍了获取在文本框中日期从月历在C#按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用一个月的日历日期在文本框中点击按钮窗口表后。
日历应该是隐藏在公开的形式和按钮单击该日历可见了。

I want to use month calendar date in text box after click on button for window form. Calendar should be hide when form open and after click on button that calendar be visible.

我使用C#和Visual Studio 2008.So请给我答复根据该工具。

I am using c# with visual studio 2008.So please give me response according this tool.

推荐答案

使用的的DateTimePicker 这个类。它正是您所描述的行为。

Use the DateTimePicker class for this. It has exactly the behavior you described.

这篇关于获取在文本框中日期从月历在C#按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆