Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 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();
 }