Esempio n. 1
0
        private void btnReportDSVT_ItemClick(object sender, ItemClickEventArgs e)
        {
            Form nvForm = CheckExists(typeof(frmReportDSVT));

            if (nvForm != null)
            {
                nvForm.Activate();
            }
            else
            {
                frmReportDSVT f = new frmReportDSVT();
                f.MdiParent = this;
                f.Show();
            }
        }
Esempio n. 2
0
        private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form nvForm = CheckExists(typeof(frmReportDSVT));

            if (nvForm != null)
            {
                nvForm.Activate();
            }
            else
            {
                frmReportDSVT f = new frmReportDSVT();
                f.MdiParent = this;
                f.Show();
            }
        }