Exemple #1
0
 private void mnuManageState_Click(object sender, EventArgs e)
 {
     if (objStateForm == null)
     {
         objStateForm           = new StateForm();
         objStateForm.MdiParent = this;
         objStateForm.Show();
         objStateForm.FormClosing += objStateForm_FormClosing;
     }
     else
     {
         objStateForm.Activate();
     }
 }
Exemple #2
0
 void objStateForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     objStateForm = null;
 }