Esempio n. 1
0
 private void barButtonItem_QuyetDinh_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (formQuyetDinh == null)
     {
         formQuyetDinh             = new F_Main_QuyetDinh();
         formQuyetDinh.MdiParent   = this;
         formQuyetDinh.FormClosed += new FormClosedEventHandler(formQuyetDinh_FormClosed);
         formQuyetDinh.Show();
     }
     else
     {
         formQuyetDinh.Activate();
     }
 }
Esempio n. 2
0
 void formQuyetDinh_FormClosed(object sender, FormClosedEventArgs e)
 {
     formQuyetDinh = null;
 }