Ejemplo n.º 1
0
 private void mainMenuBoxReport(object sender, EventArgs e)
 {
     frmReport ReportForm = new frmReport();
     ReportForm.Show();
     ReportForm.PopulateData(SAV.Data, SAV.Box);
 }
Ejemplo n.º 2
0
 private void mainMenuBoxReport(object sender, EventArgs e)
 {
     frmReport ReportForm = new frmReport();
     int offset = 0x27A00; if (savegame_oras) offset = 0x33000 + 0x5400;
     ReportForm.Show();
     ReportForm.PopulateData(savefile, savindex, offset);
 }
Ejemplo n.º 3
0
        private void generateDBReport(object sender, EventArgs e)
        {
            if (Util.Prompt(MessageBoxButtons.YesNo, "Generate a Report on all data?", "This may take a while...")
                != DialogResult.Yes)
                return;

            frmReport ReportForm = new frmReport();
            ReportForm.Show();
            ReportForm.PopulateData(Results.ToArray());
        }
Ejemplo n.º 4
0
        // Sub Menu Options
        private void mainMenuBoxReport(object sender, EventArgs e)
        {
            var z = Application.OpenForms.Cast<Form>().FirstOrDefault(form => form.GetType() == typeof(frmReport)) as frmReport;
            if (z != null)
            { Util.CenterToForm(z, this); z.BringToFront(); return; }

            frmReport ReportForm = new frmReport();
            ReportForm.Show();
            ReportForm.PopulateData(SAV.Data, SAV.Box);
        }
Ejemplo n.º 5
0
 private void mainMenuBoxReport(object sender, EventArgs e)
 {
     frmReport ReportForm = new frmReport();
     ReportForm.Show();
     ReportForm.PopulateData(savefile, SaveGame.Box);
 }
Ejemplo n.º 6
0
        private void mainMenuBoxReport(object sender, EventArgs e)
        {
            if (Application.OpenForms.Cast<Form>().Any(form => form.Name == typeof(frmReport).Name))
            { Util.Alert("Window is already open."); return; }

            frmReport ReportForm = new frmReport();
            ReportForm.Show();
            ReportForm.PopulateData(SAV.Data, SAV.Box);
        }