private void AddFilterButton_Click(object sender, RoutedEventArgs e) { var filter = new Filter { Pattern = FilterTextBox.Text, Type = FilterType.None }; filters.Add(filter); filter.BeginEdit(); FilterListView.ScrollIntoView(filter); FilterTextBox.Clear(); }
private void DisableInput() { SelectButton.Enabled = false; FindTextButton.Enabled = false; FindWithRegexButton.Enabled = false; TextToFindTextBox.Enabled = false; TextToFindWithRegexTextBox.Enabled = false; DisableEmbeddedContentCheckBox.Enabled = false; IncludePropertiesCheckBox.Enabled = false; ReadIntoMemoryCheckBox.Enabled = false; FilterTextBox.Clear(); }