private void laThoiKhoaBieu_Click(object sender, EventArgs e) { frmPhanCong frmPhanCong = new frmPhanCong(); frmPhanCong.Show(); //MessageBox.Show("Chức năng đang trong quá trình làm,\n bạn chờ nhé ^^", "Thông báo"); }
public static void ShowFormPhanCong() { if (m_FrmPhanCong == null || m_FrmPhanCong.IsDisposed) { m_FrmPhanCong = new frmPhanCong(); m_FrmPhanCong.MdiParent = frmMain.ActiveForm; m_FrmPhanCong.Show(); } else m_FrmPhanCong.Activate(); }