Пример #1
0
        private void DatTruoc(object sender, EventArgs e)
        {
            bool check = CheckExistForm("frmQuanlydia");

            if (!check)
            {
                frmDatTruoc f = new frmDatTruoc();
                f.MdiParent = this;
                f.Show();
            }
            else
            {
                ActiveChildForm("frmQuanlydia");
            }
        }
Пример #2
0
        private void DatTruoc(object sender, EventArgs e)
        {
            frmDatTruoc f = new frmDatTruoc();

            f.ShowDialog();
        }