Ejemplo n.º 1
0
 private void barButtonItem_LDSauGiao_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (formMucDichSuDungDat == null)
     {
         formMucDichSuDungDat             = new F_Main_MucDichSuDungDat();
         formMucDichSuDungDat.MdiParent   = this;
         formMucDichSuDungDat.FormClosed += new FormClosedEventHandler(formMucDichSuDungDat_FormClosed);
         formMucDichSuDungDat.Show();
     }
     else
     {
         formMucDichSuDungDat.Activate();
     }
 }
Ejemplo n.º 2
0
 void formMucDichSuDungDat_FormClosed(object sender, FormClosedEventArgs e)
 {
     formMucDichSuDungDat = null;
 }