Exemple #1
0
        private void btnLoaiDocGia_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = this.KiemTraTonTai(typeof(frmLoaiDocGia));

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

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