private void Cancel_Click(object sender, RoutedEventArgs e) { if (OnCancelEvent != null) { OnCancelEvent.Invoke(); } }
protected override void OnCancel() { if (OnCancelEvent != null) { OnCancelEvent.Invoke(this, new EventArgs()); } }
private void CancelButtonOnClick(object sender, EventArgs e) { if (OnCancelEvent != null) { OnCancelEvent.Invoke(this, new EventArgs()); } }
public void OnCancel(InputAction.CallbackContext context) { if (context.phase != InputActionPhase.Performed) { return; } OnCancelEvent?.Invoke(); Log("OnCancel"); }
protected void OnCancelButtonPress(object o, Gtk.ButtonReleaseEventArgs args) { OnCancelEvent?.Invoke(); }
private void Cancel_Click(object sender, RoutedEventArgs e) { OnCancelEvent?.Invoke(); }
public override void OnCancel() { OnCancelEvent?.Invoke(this, new EventArgs()); }
/// <summary> /// On cancel. /// </summary> /// <param name="eventData">Pointer event data.</param> public void OnCancel(BaseEventData eventData) { OnCancelEvent?.Invoke(eventData); }
/// <summary> /// A handler that will called when the form will be canceled. /// Handle the stored data. /// </summary> public virtual void OnCancel() { OnCancelEvent?.Invoke(this); }