예제 #1
0
 private void StartLiveVideo()
 {
     videoMode = true;
     if (icImagingControl1.DeviceValid)
     {
         icImagingControl1.LiveStart();
         videoMode            = true;
         playStopButton.Image = Properties.Resources.STOP;
         camView?.UpdatePlayStopButton(ref videoMode);
         camSelButton.Enabled = false;
     }
 }
예제 #2
0
        private void UpdateControls()
        {
            bool IsDeviceValid = icImagingControl1.DeviceValid;

            if (camView != null)
            {
                camView.Set_Enabled(CamView2.ControlsE.PlayB, IsDeviceValid);

                camView.Set_Enabled(CamView2.ControlsE.PlayB, IsDeviceValid);
                camView.Set_Enabled(CamView2.ControlsE.SaveB, IsDeviceValid);
                camView.Set_Enabled(CamView2.ControlsE.SettingB, IsDeviceValid);
                camView.Set_Enabled(CamView2.ControlsE.AutoC, IsDeviceValid);
                camView.UpdatePlayStopButton(ref videoMode);
            }
            playStopButton.Enabled = IsDeviceValid;
        }