예제 #1
0
파일: Main.cs 프로젝트: kwsch/PKHeX
 // 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)
     { WinFormsUtil.CenterToForm(z, this); z.BringToFront(); return; }
     
     frmReport ReportForm = new frmReport();
     ReportForm.Show();
     ReportForm.PopulateData(SAV.BoxData);
 }