// MDI frmBaoCaoThongKe void MoFormBaoCaoThongKe() { Form frm = KiemTraFormTonTai(typeof(frmBaoCaoThongKe)); if (frm != null) { frm.Activate(); } else { frmBaoCaoThongKe m_frmThongKe = frmBaoCaoThongKe.Instance; m_frmThongKe.MdiParent = this; m_frmThongKe.Dock = DockStyle.Fill; m_frmThongKe.Show(); } }
private void frmThongKe_FormClosed(object sender, FormClosedEventArgs e) { _Instance = null; }