/// <summary>
 /// 主视窗失焦时停止计时
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MainForm_Deactivate(object sender, EventArgs e)
 {
     UpdateMainForm.Stop();
 }
 /// <summary>
 /// 主视窗第一次加载的初始化
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MainForm_Load(object sender, EventArgs e)
 {
     CurTime.Text = GlobleVariable.dt.ToString("yyyy-MM-dd HH") + "时";
     UpdateMainForm.Start();
 }
 /// <summary>
 /// 主视窗为焦点时开始计时
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MainForm_Activated(object sender, EventArgs e)
 {
     UpdateMainForm.Start();
 }