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(); } }
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(); } }
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(); }