状态工具条,Windows应用程序中的当前时间和日期 [英] Current time and date in status toolstrip,windows application
本文介绍了状态工具条,Windows应用程序中的当前时间和日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的表单应该在页面加载状态栏上显示当前时间和日期...使用Windows窗体应用程序... c#.net
I am having form which should show current time and date at status bar on page load...using windows forms app...c#.net
推荐答案
亲爱的Narendra,
1.在工具栏的表格上添加状态栏。
2.按f4并在项目集合属性中添加工具条标签。
3.on表单加载设置当前日期时间值。
Dear Narendra,
1.Add status strip on form from tool box.
2.Press f4 on it and in items collection property add tool strip label .
3.on form load set the current date time value.
this.toolStripStatusLabel1.Text = System.DateTime.Now.ToString ();
这篇关于状态工具条,Windows应用程序中的当前时间和日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文