private void toolStripMenuPhongBan_Click(object sender, EventArgs e) { if (f_PhongBan == null || f_PhongBan.IsDisposed) { f_PhongBan = new frmPhongBan(); f_PhongBan.MdiParent = this; f_PhongBan.Show(); } else f_PhongBan.Activate(); }
private void btnPhongBan_Click(object sender, EventArgs e) { if (f_PhongBan == null || f_PhongBan.IsDisposed) { f_PhongBan = new frmPhongBan(); //f_PhongBan.FormBorderStyle = FormBorderStyle.None; f_PhongBan.MdiParent = this; f_PhongBan.Show(); } else f_PhongBan.Activate(); }