예제 #1
0
 private void cancelFilter()
 {
     log.Info("Clearing Log Filter");
     logFilter.Clear();
     FilterIndicator.IsFiltered = false;
     LogFilter.FilteredEntries  = Entries;
     listView1.ItemsSource      = entries;
     tbFiltered.Text            = entries.Count().ToString();
 }
예제 #2
0
        private void buttonClear_Click(object sender, RoutedEventArgs e)
        {
            logFilter.Clear();

            this.textBoxMessage.Text   = string.Empty;
            this.textBoxThrowable.Text = string.Empty;

            this.comboBoxNDC.Text    = string.Empty;
            comboBoxIdentity.Text    = string.Empty;
            comboBoxLevel.Text       = string.Empty;
            comboBoxUserName.Text    = string.Empty;
            comboBoxThread.Text      = string.Empty;
            comboBoxMachineName.Text = string.Empty;
            comboBoxHostName.Text    = string.Empty;
            comboBoxApplication.Text = string.Empty;
            comboBoxClass.Text       = string.Empty;
            comboBoxMethod.Text      = string.Empty;
            comboBoxFile.Text        = string.Empty;
            comboLogFile.Text        = string.Empty;
            comboLogger.Text         = string.Empty;

            comboBoxIdentity.SelectedIndex    = -1;
            comboBoxNDC.SelectedIndex         = -1;
            comboBoxLevel.SelectedIndex       = -1;
            comboBoxUserName.SelectedIndex    = -1;
            comboBoxThread.SelectedIndex      = -1;
            comboBoxMachineName.SelectedIndex = -1;
            comboBoxHostName.SelectedIndex    = -1;
            comboBoxApplication.SelectedIndex = -1;
            comboBoxClass.SelectedIndex       = -1;
            comboBoxMethod.SelectedIndex      = -1;
            comboBoxFile.SelectedIndex        = -1;
            comboLogFile.SelectedIndex        = -1;
            comboLogger.SelectedIndex         = -1;
        }