先添加一个statusStrip后插入tooltripstatuslable,设置为sping,text为空。然后在添加一个timer,在编码中添加
private void timer1_Tick(object sender, EventArgs e)
{
toolStripStatusLabel1.Text =DateTime.Now.ToString();
}
运行怎么不能显示时间,是那里出错了啊?
private void timer1_Tick(object sender, EventArgs e)
{
toolStripStatusLabel1.Text =DateTime.Now.ToString();
}
运行怎么不能显示时间,是那里出错了啊?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货