private void tSMDanToc_Click(object sender, EventArgs e) { if (m_DanToc == null || m_DanToc.IsDisposed) { m_DanToc = new frmDanToc(); m_DanToc.MdiParent = frmMain.ActiveForm; m_DanToc.Show(); } else { m_DanToc.Activate(); } }
private void cmdThemDanToc_Click(object sender, EventArgs e) { frmDanToc m_DanToc = new frmDanToc(); m_DanToc.ShowDialog(); }