private void filterSettings_Click(object sender, RoutedEventArgs e)
        {
            metaDrawFilterSettings.DecoysCheckBox.IsChecked = metaDrawFilterSettings.ShowDecoys;
            metaDrawFilterSettings.ContaminantsCheckBox.IsChecked = metaDrawFilterSettings.ShowContaminants;
            metaDrawFilterSettings.qValueBox.Text = metaDrawFilterSettings.QValueFilter.ToString();

            var result = metaDrawFilterSettings.ShowDialog();

            DisplayLoadedAndFilteredPsms();
        }
Esempio n. 2
0
        private void filterSettings_Click(object sender, RoutedEventArgs e)
        {
            metaDrawFilterSettings.DecoysCheckBox.IsChecked       = metaDrawFilterSettings.ShowDecoys;
            metaDrawFilterSettings.ContaminantsCheckBox.IsChecked = metaDrawFilterSettings.ShowContaminants;
            metaDrawFilterSettings.qValueBox.Text = metaDrawFilterSettings.QValueFilter.ToString();
            metaDrawFilterSettings.CmbGlycanLocalizationLevelStart.SelectedIndex = (int)metaDrawFilterSettings.LocalizationLevelStart;
            metaDrawFilterSettings.CmbGlycanLocalizationLevelEnd.SelectedIndex   = (int)metaDrawFilterSettings.LocalizationLevelEnd;
            var result = metaDrawFilterSettings.ShowDialog();

            DisplayLoadedAndFilteredPsms();
        }