private void quảnLýToolStripMenuItem1_Click(object sender, EventArgs e) { if (!CheckExistFrom("frm_MonAn")) { frm_MonAn frm = new frm_MonAn(); frm.MdiParent = this; frm.Show(); } else { ActiveChildForm("frm_MonAn"); } }
private void btn_QLMA_Click(object sender, EventArgs e) { frm_MonAn frm = new frm_MonAn(); frm.ShowDialog(); }