Esempio n. 1
0
        // 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();
            }
        }
Esempio n. 2
0
 private void frmThongKe_FormClosed(object sender, FormClosedEventArgs e)
 {
     _Instance = null;
 }