Exemple #1
0
        private void bttDangKy_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = this.CheckFormExist(typeof(frPhieuThu));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frPhieuThu f = new frPhieuThu();
                f.MdiParent = this;
                f.Show();
            }
        }
Exemple #2
0
        private void btnPhieuThu_ItemClick(object sender, ItemClickEventArgs e)
        {
            Form frm = this.CheckFormExist(typeof(frPhieuThu));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frPhieuThu f = new frPhieuThu();
                f.MdiParent = this;
                f.Show();
            }
        }
Exemple #3
0
        private void btnPhieuThu_ItemClick(object sender, ItemClickEventArgs e)
        {
            SplashScreenManager.ShowForm(typeof(frWait));
            Form frm = this.CheckFormExist(typeof(frPhieuThu));

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