private void kháchHàngToolStripMenuItem_Click(object sender, EventArgs e) { FrmKhachHang frm = new FrmKhachHang(); this.Hide(); frm.Show(); }
private void btnKhachHang_ItemClick(object sender, ItemClickEventArgs e) { /* Display KhachHang form in tabbed */ Form hd = CheckForm(typeof(FrmKhachHang)); if (hd != null) { hd.Activate(); } else { var form = new FrmKhachHang { MdiParent = this }; form.Show(); } }