/// <summary>
/// 一个时间控件的事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void timer1_Tick(object sender, EventArgs e)
{
DateTime time = DateTime.Now;//一个时间对象
this.toolStripStatusLabel2.Text = time.Hour + "点" + time.Minute + "分" + time.Second + "秒";
}