void operation_EndPrint(object o, EndPrintArgs args) { if (dialog != null) { dialog.Hide(); } }
void HandlePrintEndPrint(object o, EndPrintArgs args) { ReportPrinted?.Invoke(this, EventArgs.Empty); printing.BeginPrint -= HandlePrintBeginPrint; printing.DrawPage -= HandlePrintDrawPage; printing.EndPrint -= HandlePrintEndPrint; printing.Dispose(); }
void HandlePrintEndPrint(object o, EndPrintArgs args) { ReportPrinted?.Invoke(this, EventArgs.Empty); }
void HandlePrintEndPrint(object o, EndPrintArgs args) { }
public void EndPrint(object o, EndPrintArgs args) { Console.WriteLine("EndPrint"); }