static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); ReporterBO reporterBO = new ReporterBO(); reporterBO.UpdateLocalReportFilesFromServer(); CommandLineParser parser = new CommandLineParser(args); string reportName = parser["reportName"]; if (reportName != null) { string localReportPath = reporterBO.Settings.LocalReportFolder + reportName; if (File.Exists(localReportPath)) { reporterBO.SetSelectedReportByReportPath(localReportPath); reporterBO.SetParameterSetNameArg(parser["parameterSetName"]); Application.Run(new ReportViewer(reporterBO)); } else Application.Run(new ReportSelector(reporterBO)); } else Application.Run(new ReportSelector(reporterBO)); parser = null; reporterBO.Dispose(); }
public ReportCloner(ReporterBO reporterBO) { InitializeComponent(); _reporterBO = reporterBO; _reportPath = reporterBO.SelectedReportPath; this.Text = base.Title + " - Report Cloner"; }
public ReportParameterSelector(ReportDocument reportDocument, ReporterBO reporterBO) { InitializeComponent(); this.Text = base.Title + " - Report Parameters"; _reportDocument = reportDocument; _parameterFields = reportDocument.ParameterFields; _reporterBO = reporterBO; }
public ReportGenerator(ReporterBO reporterBO) { InitializeComponent(); _reporterBO = reporterBO; _reportWizardDataSources = new List<ReportWizardDataSource>(); this.Text = base.Title + " - Report Wizard"; LoadCombos(); }
public ReporterBOTester() { InitializeComponent(); _reporterBO = new ReporterBO(); GetReports(); }
public ReportSelector(ReporterBO reporterBO) { InitializeComponent(); _reporterBO = reporterBO; this.Text = base.Title + " - Report Selector"; }