public static void _SA_DisplayReport(Reports wReport) { if (!ReportCentre.repo.SelfInfo.Exists()) { ReportCentre._SA_Invoke(); } ReportCentre._SA_SelectReport(wReport); ReportCentre.repo.Display.Click(); while (!ReportDisplay.repo.SelfInfo.Exists()) { Thread.Sleep(1000); } }
public static void _SA_SelectReport(Reports wReport) { //example - wReport = ReportCentre._RptType_Receivables._Rpt_CustomerList if (!ReportCentre.repo.SelfInfo.Exists()) { ReportCentre._SA_Invoke(); } // select the report type wReport.SelectReportType(); // Dont need to expand the tree // // expand the sub-area if applicable // if (wReport.SubArea != null) // { // ReportCentre.repo.ReportsTree.Expand(wReport.SubArea); // expand only works on a tree in c# // } // select the report // ReportCentre.repo.ReportsTree.SelectTreeItem(wReport.Path); }
public override void SelectReportType() { ReportCentre._SA_SelectReportType("My Reports"); }