Ejemplo n.º 1
0
 private void countryToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (objCountryForm == null)
     {
         objCountryForm           = new CountryForm();
         objCountryForm.MdiParent = this;
         objCountryForm.Show();
         objCountryForm.FormClosing += objCountryForm_FormClosing;
     }
     else
     {
         objCountryForm.Activate();
     }
 }
Ejemplo n.º 2
0
 void objCountryForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     objCountryForm = null;
 }