Пример #1
0
        private void GoClick([NotNull] object sender, [NotNull] RoutedEventArgs e)
        {
            Debug.ArgumentNotNull(sender, nameof(sender));
            Debug.ArgumentNotNull(e, nameof(e));

            ItemTreeView.FindItem(Find.Text);
        }
Пример #2
0
        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);
        }