private void tSMTonGiao_Click(object sender, EventArgs e) { if (m_TonGiao == null || m_TonGiao.IsDisposed) { m_TonGiao = new frmTonGiao(); m_TonGiao.MdiParent = frmMain.ActiveForm; m_TonGiao.Show(); } else { m_TonGiao.Activate(); } }
private void cmdThemTonGiao_Click(object sender, EventArgs e) { frmTonGiao m_TonGiao = new frmTonGiao(); m_TonGiao.ShowDialog(); }