Event handler on ReportPrinted
Posted: Thu Oct 23, 2014 3:32 am
Hello,
I've got an issue with Event Handler on ReportPrinted.
I start to print the report :
Globals.Report.Report_to_print.Print();
Then I'd like to get the event when the report has been printed out.
I could use Globals.Report.Report_to_print.ReportPrinted event but I don't understand where I can find the method on which to subscribe.
like:
public delegate bool Mydelegate();
Mydelegate dReportPrinted = new Mydelegate( Method to subscribe);
dReportPrinted();
or
Public subscribe method;
I know this is a basic question but if I don't have an answer on it I would never understand how to find this method and the others like OnChange and so on.
Thanks for your answer.
G.Schadegg
R&D Engineer Electronic
I've got an issue with Event Handler on ReportPrinted.
I start to print the report :
Globals.Report.Report_to_print.Print();
Then I'd like to get the event when the report has been printed out.
I could use Globals.Report.Report_to_print.ReportPrinted event but I don't understand where I can find the method on which to subscribe.
like:
public delegate bool Mydelegate();
Mydelegate dReportPrinted = new Mydelegate( Method to subscribe);
dReportPrinted();
or
Public subscribe method;
I know this is a basic question but if I don't have an answer on it I would never understand how to find this method and the others like OnChange and so on.
Thanks for your answer.
G.Schadegg
R&D Engineer Electronic