Example #1
0
 private void Button_Addition_OnCLick(object sender, RoutedEventArgs e)
 {
     if (sender is Button button)
     {
         OperationClick?.Invoke(button.Content.ToString());
     }
 }
Example #2
0
 private void OnOperationClick(TreeViewEventArgs e)
 {
     OperationClick?.Invoke(this, e);
 }