Example #1
0
        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();
            }
        }
Example #2
0
        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();
            }
        }