Beispiel #1
0
        private void FrmLoaiMonAn_FormClosing(object sender, FormClosingEventArgs e)
        {
            frmMonAn frm = new frmMonAn(_tenTK);

            frm.MdiParent = this.MdiParent;
            frm.Dock      = DockStyle.Fill;
            frm.Show();
        }
Beispiel #2
0
        // MDI frmMonAn
        void MoFormMonAn()
        {
            Form frm = KiemTraFormTonTai(typeof(frmMonAn));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frmMonAn m_frmHoaDonThanhToan = new frmMonAn(_tenTK);
                m_frmHoaDonThanhToan.MdiParent = this;
                m_frmHoaDonThanhToan.Dock      = DockStyle.Fill;
                m_frmHoaDonThanhToan.Show();
            }
        }
Beispiel #3
0
 private void frmMonAn_FormClosed(object sender, FormClosedEventArgs e)
 {
     _Instance = null;
 }