Пример #1
0
 private void motionDetectionSettingsToolStripMenuItem_Click(object sender, EventArgs e)
 {
   MotionSettings MSdialog = new MotionSettings();
   if (cameraWindow1.Camera != null && cameraWindow1.Camera.MotionDetector != null)
   {
     MSdialog.setActiveCamera(cameraWindow1.Camera);
     MSdialog.Show();
   }
   else
   {
     MessageBox.Show("No Active Camera w/ Active Motion Detector!");
   }
 }
Пример #2
0
 private void motionDetectionSettingsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     MotionSettings MSdialog = new MotionSettings();
       if (cameraWindow1.Camera != null && cameraWindow1.Camera.MotionDetector != null)
       {
     MSdialog.setActiveCamera(cameraWindow1.Camera);
     MSdialog.Show();
       }
       else
       {
     MessageBox.Show("No Active Camera w/ Active Motion Detector!");
       }
 }