Exemplo n.º 1
0
        private void ShowEmptyReportDialog(Report report)
        {
            DialogResult dlgResult;

            using (var dialog = new RunEmptyReport())
            {
                dlgResult = dialog.ShowDialog(this);
            }

            switch (dlgResult)
            {
            case DialogResult.Cancel:
                return;

            case DialogResult.Retry:
                mmRunTarget.PerformClick();
                return;

            case DialogResult.OK:
                ShowSkippedItems(report);
                return;
            }
        }
Exemplo n.º 2
0
        private void ShowEmptyReportDialog(Report report)
        {
            DialogResult dlgResult;
            using (var dialog = new RunEmptyReport())
            {
                dlgResult = dialog.ShowDialog(this);
            }

            switch (dlgResult)
            {
            case DialogResult.Cancel:
                return;
            case DialogResult.Retry:
                mmRunTarget.PerformClick();
                return;
            case DialogResult.OK:
                ShowSkippedItems(report);
                return;
            }
        }