Example #1
0
 private void iRAToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (ira == null)
     {
         ira             = new FormIRA();
         ira.MdiParent   = this;
         ira.FormClosed += Ira_FormClosed;
         ira.Show();
         ira.WindowState = FormWindowState.Maximized;
     }
     else
     {
         ira.BringToFront();
     }
 }
Example #2
0
 void Ira_FormClosed(object sender, FormClosedEventArgs e)
 {
     ira = null;
     //throw new NotImplementedException();
 }