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