/// <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); }); }
/// <summary> /// 从管理列表中删除历史播放窗口 /// </summary> /// <param name="playBack"></param> public void removePlayBack(FormPlayBack playBack) { this.playBackForms.Remove(playBack); }