public override void PrintObject() { WorkReportReportMng reportMng = new WorkReportReportMng(AppContext.ActiveSchema); ReportViewer.SetReport(reportMng.GetDetailReport(EntityInfo)); ReportViewer.ShowDialog(); }
public override void PrintDetailAction() { if (ActiveItem == null) { return; } WorkReportReportMng reportMng = new WorkReportReportMng(AppContext.ActiveSchema, Text, FilterValues); ReportClass report = reportMng.GetDetailReport(WorkReportInfo.Get(ActiveOID, true)); ShowReport(report); }