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