Ejemplo n.º 1
0
        private void GenerateDBReport(object sender, EventArgs e)
        {
            if (WinFormsUtil.Prompt(MessageBoxButtons.YesNo, MsgDBCreateReportPrompt, MsgDBCreateReportWarning) != DialogResult.Yes)
            {
                return;
            }

            ReportGrid reportGrid = new ReportGrid();

            reportGrid.Show();
            reportGrid.PopulateData(Results.ToArray());
        }
Ejemplo n.º 2
0
        private void GenerateDBReport(object sender, EventArgs e)
        {
            if (WinFormsUtil.Prompt(MessageBoxButtons.YesNo, "Generate a Report on all data?", "This may take a while...")
                != DialogResult.Yes)
            {
                return;
            }

            ReportGrid reportGrid = new ReportGrid();

            reportGrid.Show();
            reportGrid.PopulateData(Results.ToArray());
        }