protected internal virtual void OnFormLayoutKeyAfter(ref LayoutKeyInfo pVal) { if (this.LayoutKeyAfter != null) { this.LayoutKeyAfter(ref pVal); } }
protected internal virtual void OnFormLayoutKeyBefore(ref LayoutKeyInfo pVal, out bool BubbleEvent) { BubbleEvent = true; if (this.LayoutKeyBefore != null) { this.LayoutKeyBefore(ref pVal, out BubbleEvent); } }
protected virtual void OnFormLayoutKeyAfter(ref LayoutKeyInfo pVal) { DoverFormBase addOneForm; if (events.TryGetValue(pVal.FormUID, out addOneForm)) { addOneForm.OnFormLayoutKeyAfter(ref pVal); } }
protected virtual void OnFormLayoutKeyBefore(ref LayoutKeyInfo pVal, out bool BubbleEvent) { BubbleEvent = true; DoverFormBase addOneForm; if (events.TryGetValue(pVal.FormUID, out addOneForm)) { addOneForm.OnFormLayoutKeyBefore(ref pVal, out BubbleEvent); } }
public void OnLayoutKeyEvent(ref LayoutKeyInfo e, out bool bubbleEvent) { bubbleEvent = true; var key = new LayoutKeyEventHandlerAttribute(e.BeforeAction); if (e.BeforeAction && before.ContainsKey(key)) { bubbleEvent = before[key].Invoke(e); return; } if (!e.BeforeAction && after.ContainsKey(key)) { after[key].Invoke(e); } }
private void OnLayoutKeyEvent(ref LayoutKeyInfo e, out bool bubbleEvent) { bubbleEvent = true; try { var formUid = e.FormUID; if (eventListeners.ContainsKey(formUid)) { eventListeners[formUid].OnLayoutKeyEvent(ref e, out bubbleEvent); } } catch (Exception exception) { EventHandlerError(null, new ErrorEventArgs(exception)); } }
public void SBO_Application_LayoutKeyEvent(ref LayoutKeyInfo eventInfo, SAPbobsCOM.Company sbo_company, ref Application sbo_application, out bool bBubbleEvent) { bBubbleEvent = true; }