Esempio n. 1
0
        private void baoCaoCôngNơToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmBaoCaoCongNo frm = new frmBaoCaoCongNo();

            frm.MdiParent = this;
            frm.Show();
        }
Esempio n. 2
0
        private void btnBaoCaoCongNo_ItemClick(object sender, ItemClickEventArgs e)
        {
            if (KiemTraTonTai("frmBaoCaoCongNo") == null)
            {
                foreach (Form frm1 in MdiChildren)
                {
                    frm1.Close();
                }
                frmBaoCaoCongNo frm = new frmBaoCaoCongNo();

                frm.MdiParent = this;
                frm.Show();
            }
        }