1、从工具箱向窗体拖动两个控件----timer控件和statusStrip控件
2、选择状态栏的属性----点击Items----添加项----把Text改为显示日期时间
3、选择Timer属性,把Enabled改为【True】,Interval改为【1000】
4、点击事件----在Tick按下回车键
5、输入代码
private void timer1_Tick(object sender, EventArgs e)
{
toolStripStatusLabel7.Text = System.DateTime.Now.ToString();
}