第2个回答 2010-11-10
你想把时间显示在什么地方,常用的是用 statusStrip控件 在里面添加个toolStripStatusLabel 就像是Label控件一样 是显示文本的 然后拖个timer控件
然后在窗体的load事件中 写上
this.toolStripStatusLabel1.Text = DateTime.Now.ToString();
this.timer1.Enabled = true;
在timer的tick事件 中写上
this.toolStripStatusLabel1.Text = DateTime.Now.ToString();
就可以了
请参考