Пример #1
0
        private void bttLopHoc_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = this.CheckFormExist(typeof(frLopHoc));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frLopHoc f = new frLopHoc();
                f.MdiParent = this;
                f.Show();
            }
        }
Пример #2
0
        private void bttLopHoc_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            SplashScreenManager.ShowForm(typeof(frWait));
            Form frm = this.CheckFormExist(typeof(frLopHoc));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frLopHoc f = new frLopHoc();
                f.MdiParent = this;
                f.Show();
            }
            SplashScreenManager.CloseForm();
        }