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(); } }
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(); } }