private void tSMChucVu_Click(object sender, EventArgs e) { if (m_ChucVu == null || m_ChucVu.IsDisposed) { m_ChucVu = new frmChucVu(); m_ChucVu.MdiParent = frmMain.ActiveForm; m_ChucVu.Show(); } else { m_ChucVu.Activate(); } }
private void cmdThemChucVu_Click(object sender, EventArgs e) { frmChucVu m_ChucVu = new frmChucVu(); m_ChucVu.ShowDialog(); }