protected internal virtual void OnFormReportDataAfter(ref PrintEventInfo pVal) { if (this.ReportDataAfter != null) { this.ReportDataAfter(ref pVal); } }
protected internal virtual void OnFormPrintAfter(ref PrintEventInfo pVal) { if (this.PrintAfter != null) { this.PrintAfter(ref pVal); } }
protected internal virtual void OnFormReportDataBefore(ref PrintEventInfo pVal, out bool BubbleEvent) { BubbleEvent = true; if (this.ReportDataBefore != null) { this.ReportDataBefore(ref pVal, out BubbleEvent); } }
protected virtual void OnFormPrintAfter(ref PrintEventInfo pVal) { DoverFormBase addOneForm; if (events.TryGetValue(pVal.FormUID, out addOneForm)) { addOneForm.OnFormPrintAfter(ref pVal); } }
protected virtual void OnFormPrintBefore(ref PrintEventInfo pVal, out bool BubbleEvent) { BubbleEvent = true; DoverFormBase addOneForm; if (events.TryGetValue(pVal.FormUID, out addOneForm)) { addOneForm.OnFormPrintBefore(ref pVal, out BubbleEvent); } }
internal void sapApp_PrintEvent(ref PrintEventInfo eventInfo, out bool BubbleEvent) { BubbleEvent = true; foreach (var e in printEvents) { ((_IApplicationEvents_PrintEventEventHandler)e)(ref eventInfo, out BubbleEvent); if (!BubbleEvent) { break; } } }
public static void CatchPrintEvent(ref PrintEventInfo pVal, out bool bubbleEvent) { bubbleEvent = true; try { if (pVal != null) { switch (pVal.EventType) { case BoEventTypes.et_PRINT: if (pVal.BeforeAction) { if (Print_Before != null) { Print_Before(ref pVal, ref bubbleEvent); } } else { if (Print_After != null) { Print_After(ref pVal, ref bubbleEvent); } } break; case BoEventTypes.et_PRINT_LAYOUT_KEY: if (pVal.BeforeAction) { if (Print_Layout_Before != null) { Print_Layout_Before(ref pVal, ref bubbleEvent); } } else { if (Print_Layout_After != null) { Print_Layout_After(ref pVal, ref bubbleEvent); } } break; } } } catch (Exception ex) { B1Exception.throwException("Erro evento Print: ", ex); } }
public virtual void Print_Layout_After(ref PrintEventInfo pVal, ref bool bubbleEvent) { }
private void PrintLayoutFilterAfter(ref PrintEventInfo pVal, ref bool bubbleEvent) { Print_Layout_After(ref pVal, ref bubbleEvent); }
private void PrintLayoutFilterBefore(ref PrintEventInfo pVal, ref bool bubbleEvent) { Print_Layout_Before(ref pVal, ref bubbleEvent); }
public virtual void Print_Before(ref PrintEventInfo pVal, ref bool bubbleEvent) { }
public void SBO_Application_PrintEvent(ref PrintEventInfo printeventInfo, SAPbobsCOM.Company sbo_company, ref Application sbo_application, out bool bBubbleEvent) { bBubbleEvent = true; }
public static void PrintEvent(ref PrintEventInfo eventInfo, out Boolean BubbleEvent) { BubbleEvent = true; }
internal void sapApp_PrintEvent(ref PrintEventInfo eventInfo, out bool BubbleEvent) { BubbleEvent = true; foreach (var e in printEvents) { ((_IApplicationEvents_PrintEventEventHandler)e)(ref eventInfo, out BubbleEvent); if (!BubbleEvent) break; } }