private void pd_EndPrint(object sender, PrintEventArgs e) { System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.Default; if (this.EndPrint != null) { EndPrint.BeginInvoke(sender, e, null, null); } }
protected virtual void OnEndPrint(PrintEvent args) { EndPrint?.Invoke(this, args); }
protected virtual void OnEndPrint(PrintEventArgs e) => EndPrint?.Invoke(this, e);