Beispiel #1
0
        private void btnBCSachMuon_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = this.KiemTraTonTai(typeof(frmBCTKSachMuonTL));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frmBCTKSachMuonTL f = new frmBCTKSachMuonTL
                {
                    MdiParent = this
                };
                f.Show();
            }
        }
        private void btnBCSachMuon_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = this.KiemTraTonTai(typeof(frmBCTKSachMuonTL));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                SplashScreenManager.ShowDefaultWaitForm();
                frmBCTKSachMuonTL f = new frmBCTKSachMuonTL
                {
                    MdiParent = this
                };
                f.Show();
                SplashScreenManager.CloseDefaultSplashScreen();
            }
        }