Пример #1
0
 private void Camera_View_button_Click(object sender, EventArgs e)
 {
     if (camView == null)
     {
         camView = new CamView2 {
             MdiParent = this
         };
         camView.FormClosing           += subFormClosing;
         camView.FormClosed            += camView_FormClosed;
         camView.ReloadRequiredHandler += Reload_Image;
         camView.AddSaveRawEH(SaveRaw);
         camView.Show();
         AddCamViewEvents();
         UpdateControls();
     }
     else
     {
         camView.Activate();
     }
 }
Пример #2
0
 private void camView_FormClosed(object sender, FormClosedEventArgs e)
 {
     camView = null;
 }