Esempio n. 1
0
 private void Cancel_Click(object sender, RoutedEventArgs e)
 {
     if (OnCancelEvent != null)
     {
         OnCancelEvent.Invoke();
     }
 }
Esempio n. 2
0
 protected override void OnCancel()
 {
     if (OnCancelEvent != null)
     {
         OnCancelEvent.Invoke(this, new EventArgs());
     }
 }
Esempio n. 3
0
 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");
 }
Esempio 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());
 }
 /// <summary>
 /// On cancel.
 /// </summary>
 /// <param name="eventData">Pointer event data.</param>
 public void OnCancel(BaseEventData eventData)
 {
     OnCancelEvent?.Invoke(eventData);
 }
Esempio 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);
 }