private void btnReportDSDDH_ItemClick(object sender, ItemClickEventArgs e) { Form nvForm = CheckExists(typeof(frmReportDSDVT)); if (nvForm != null) { nvForm.Activate(); } else { frmReportDSDVT f = new frmReportDSDVT(); f.MdiParent = this; f.Show(); } }
private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { Form nvForm = CheckExists(typeof(frmReportDSDVT)); if (nvForm != null) { nvForm.Activate(); } else { frmReportDSDVT f = new frmReportDSDVT(); f.MdiParent = this; f.Show(); } }