private void GoClick([NotNull] object sender, [NotNull] RoutedEventArgs e) { Debug.ArgumentNotNull(sender, nameof(sender)); Debug.ArgumentNotNull(e, nameof(e)); ItemTreeView.FindItem(Find.Text); }
private void FindKeyDown([NotNull] object sender, [NotNull] KeyEventArgs e) { Debug.ArgumentNotNull(sender, nameof(sender)); Debug.ArgumentNotNull(e, nameof(e)); if (e.Key != Key.Enter) { return; } ItemTreeView.FindItem(Find.Text); }