예제 #1
0
 private void mnuManageCountry_Click(object sender, EventArgs e)
 {
     if (objCountryForm == null)
     {
         objCountryForm = new Countryform();
         objCountryForm.Show();
         objCountryForm.MdiParent    = this;
         objCountryForm.FormClosing += ObjCountryForm_FormClosing;
     }
     else
     {
         objCountryForm.Activate();
     }
 }
예제 #2
0
 private void ObjCountryForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     objCountryForm = null;
 }