예제 #1
0
 /// <summary>
 /// Handles the Click event of the Ok control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="RoutedEventArgs" /> instance containing the event data.</param>
 private void OkButton_Click(object sender, RoutedEventArgs e)
 {
     if (OnOkButtonClicked != null)
     {
         OnOkButtonClicked.Invoke(sender, e);
     }
 }
예제 #2
0
 /// <summary>
 /// Handles the Click event of the Ok control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.Windows.RoutedEventArgs" /> instance containing the event data.</param>
 private void OkButton_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     if (OnOkButtonClicked != null)
     {
         OnOkButtonClicked.Invoke(this, e);
     }
 }
예제 #3
0
 /// <summary>
 /// Called when the ok button was clicked
 /// </summary>
 /// <param name="obj"></param>
 private void OkButtonClicked(MyGuiControlButton obj)
 {
     OnOkButtonClicked?.Invoke();
     CloseScreen();
 }