private static void NewReportReaction(object p) { var e = (NewReportEventArg)p; var reportCount = ReportBP.MakeNewReports(e.ReportDocument); AltaLog.AppJournal.Write(System.Reflection.MethodBase.GetCurrentMethod().Name, "Reports Count " + reportCount); Process.Start("explorer", ReportBP.GetReportsPath()); }
private static void OnReport() { var reportCount = ReportBP.MakeNewReports(); if (reportCount == 0) { MessageBox.Show("Отчеты не найдены"); } AppJournal.Write(System.Reflection.MethodBase.GetCurrentMethod().Name, "Reports Count = " + reportCount); //Debug.Write("ReportViewModel: Reports Count " + reportCount); Process.Start("explorer", ReportBP.GetReportsPath()); }