

public class BusinessLogicPlugin : System.MarshalByRefObject, JiwaFinancials.Jiwa.JiwaApplication.IJiwaBusinessLogicPlugin
{
public override object InitializeLifetimeService()
{
// returning null here will prevent the lease manager
// from deleting the Object.
return null;
}
public void Setup(JiwaFinancials.Jiwa.JiwaApplication.IJiwaBusinessLogic JiwaBusinessLogic, JiwaFinancials.Jiwa.JiwaApplication.Plugin.Plugin Plugin)
{
if (JiwaBusinessLogic is JiwaFinancials.Jiwa.JiwaApplication.JiwaPrintReport.JiwaPrintReport)
{
var reportPrint = (JiwaFinancials.Jiwa.JiwaApplication.JiwaPrintReport.JiwaPrintReport)JiwaBusinessLogic;
reportPrint.AfterPrintOutputControllerPrintReport += ReportPrint_AfterPrintOutputControllerPrintReport;
}
}
private void ReportPrint_AfterPrintOutputControllerPrintReport(
ref JiwaFinancials.Jiwa.JiwaApplication.JiwaPrintReport.JiwaPrintReport jiwaPrintReport,
ref JiwaFinancials.Jiwa.JiwaApplication.PrintGroup.Maintenance.LogicalPrinter printer,
ref int copies,
ref CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions printReportOptions)
{
System.Diagnostics.Debugger.Launch();
}
}




SBarnes wrote:Thanks, but no this more about the possibility of logging what reports are being run.

Return to Technical and or Programming
Users browsing this forum: No registered users and 34 guests