示例#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;
 }