private void DaoTaoToolStripMenuItem_Click(object sender, EventArgs e) { if (ttQTDT == null || ttQTDT.IsDisposed) { ttQTDT = new FrmQuaTrinhDaoTao(); } ttQTDT.MdiParent = this; ttQTDT.Show(dockPanelMain); }
private void btnDaoTao_Click(object sender, EventArgs e) { if (ttQTDT == null || ttQTDT.IsDisposed) { ttQTDT = new FrmQuaTrinhDaoTao(); } ttQTDT.MdiParent = this; ttQTDT.Show(dockPanelMain); this.Activate(); }