private void PawnReportButton_Click(object sender, EventArgs e) { DefaultPawnReport report = null; if (report != null) { report.Activate(); } else { report = new DefaultPawnReport(); report.Show(); } }
private void ToolDefaultPawnReport_Click(object sender, EventArgs e) { DefaultPawnReport defaultPawnReport = null; if (defaultPawnReport != null) { defaultPawnReport.Activate(); } else { defaultPawnReport = new DefaultPawnReport(); defaultPawnReport.Show(); } }