Exemplo n.º 1
0
        private void bttDSNV_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = this.CheckFormExist(typeof(frNhanVien));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frNhanVien f = new frNhanVien();
                f.MdiParent = this;
                f.Show();
            }
        }
Exemplo n.º 2
0
        private void bttDSNV_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            SplashScreenManager.ShowForm(typeof(frWait));
            Form frm = this.CheckFormExist(typeof(frNhanVien));

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