private void btnAllVideo_Click(object sender, EventArgs e)
        {
            //增加停掉。
            if (warningManager2.isStart == true)
            {
                warningManager2.BgCancel();
            }
            adamHelper2.StopTimer();
            this.Close();

            VideoMonitorWin win = new VideoMonitorWin();

            win.Show();
        }
Exemple #2
0
        /// <summary>
        /// 查看行走状态
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnWalking_Click(object sender, EventArgs e)
        {
            VideoMonitorWin win = null;

            try
            {
                win = new VideoMonitorWin();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
            if (win != null)
            {
                win.Show();
                log("点击了行走状态按钮");
            }
        }