Exemple #1
0
 private void buttonItem_khachhang_Click(object sender, EventArgs e)
 {
     if (frkh == null || frkh.IsDisposed)
     {
         frkh           = new frKhachhang();
         frkh.MdiParent = this;
         frkh.Show();
     }
     else
     {
         frkh.Activate();
     }
 }
Exemple #2
0
 private void buttonX_addKH_Click(object sender, EventArgs e)
 {
     if (frkh == null || frkh.IsDisposed)
     {
         frkh           = new frKhachhang();
         frkh.MdiParent = frMain.ActiveForm;
         frkh.Show();
     }
     else
     {
         frkh.Activate();
     }
 }