Пример #1
0
        private void navQLGM_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            frmQLGOIMON f = new frmQLGOIMON();

            if (ExistFrom(f))
            {
                return;
            }
            f.MdiParent = this;
            WindowState = FormWindowState.Maximized;
            f.Show();
        }
Пример #2
0
        private void btnQLGM_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmQLGOIMON f = new frmQLGOIMON();

            if (ExistFrom(f))
            {
                return;
            }
            f.MdiParent = this;
            WindowState = FormWindowState.Maximized;
            f.Show();
        }
Пример #3
0
        private void btnGoiMon_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmQLGOIMON f = new frmQLGOIMON();

            if (ExistFrom(f))
            {
                return;
            }
            f.MdiParent = frmMain.ActiveForm;
            WindowState = FormWindowState.Maximized;
            f.Show();
            f.btnAdd_Click(sender, e);
        }