Example #1
0
        /// <summary>
        /// 登录摄像机
        /// 先弹出一个用于输入连接摄像机
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void 登录IP摄像机ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Camera camera = new Camera();

            CameraManage.CameraManageForm cameraManageForm = new CameraManage.CameraManageForm(camera, realPlayList);

            if (DialogResult.OK == cameraManageForm.ShowDialog())
            {
                //设置成功
                cameraControler.RegistrerCameraDevice(camera, listViewVideoChannel);
            }
        }