Ejemplo n.º 1
0
 private void Cancel_Click(object sender, RoutedEventArgs e)
 {
     if (OnCancelEvent != null)
     {
         OnCancelEvent.Invoke();
     }
 }
Ejemplo n.º 2
0
 protected override void OnCancel()
 {
     if (OnCancelEvent != null)
     {
         OnCancelEvent.Invoke(this, new EventArgs());
     }
 }
Ejemplo n.º 3
0
 private void CancelButtonOnClick(object sender, EventArgs e)
 {
     if (OnCancelEvent != null)
     {
         OnCancelEvent.Invoke(this, new EventArgs());
     }
 }
Ejemplo n.º 4
0
 public void OnCancel(InputAction.CallbackContext context)
 {
     if (context.phase != InputActionPhase.Performed)
     {
         return;
     }
     OnCancelEvent?.Invoke();
     Log("OnCancel");
 }
Ejemplo n.º 5
0
 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());
 }
Ejemplo n.º 8
0
 /// <summary>
 /// On cancel.
 /// </summary>
 /// <param name="eventData">Pointer event data.</param>
 public void OnCancel(BaseEventData eventData)
 {
     OnCancelEvent?.Invoke(eventData);
 }
Ejemplo n.º 9
0
 /// <summary>
 /// A handler that will called when the form will be canceled.
 /// Handle the stored data.
 /// </summary>
 public virtual void OnCancel()
 {
     OnCancelEvent?.Invoke(this);
 }