Пример #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 Ok_Click(object sender, RoutedEventArgs e)
 {
     if (OnOkClicked != null)
     {
         OnOkClicked.Invoke(sender, e);
     }
 }
 public void OnOkClicked_Invoked(object data)
 {
     OnOkClicked?.Invoke(this, new SelectWindowEventArgs(data));
 }
 public void OnOkClicked_Invoked(string text)
 {
     OnOkClicked?.Invoke(this, new CreateRichTextWindowEventArgs(text));
 }