Esempio n. 1
0
 /// <summary>
 /// 历史回放窗口
 /// </summary>
 /// <param name="nvr"></param>
 /// <param name="channel"></param>
 public void playBack(int nvr, int channel, String name)
 {
     FormMain.mainForm.BeginInvoke((Action) delegate
     {
         FormPlayBack formPlayBack = new FormPlayBack(this);
         formPlayBack.TopMost      = true;
         formPlayBack.nvr          = nvr;
         formPlayBack.channel      = channel;
         formPlayBack.Text         = "历史回放:" + name;
         formPlayBack.Show();
         playBackForms.Add(formPlayBack);
     });
 }
Esempio n. 2
0
 /// <summary>
 /// 从管理列表中删除历史播放窗口
 /// </summary>
 /// <param name="playBack"></param>
 public void removePlayBack(FormPlayBack playBack)
 {
     this.playBackForms.Remove(playBack);
 }