Example #1
0
 public TransitionSettingsControl(SkylineWindow skylineWindow)
 {
     SkylineWindow = skylineWindow;
     InitializeComponent();
     SetFields(SkylineWindow.DocumentUI.Settings.TransitionSettings);
     PeptideIonTypes = PeptideIonTypes.Union(new[] { IonType.precursor, IonType.y }).ToArray(); // Add p, y if not already set
 }
Example #2
0
 public TransitionSettingsControl(IModifyDocumentContainer documentContainer)
 {
     _documentContainer = documentContainer;
     InitializeComponent();
     SetFields(_documentContainer.Document.Settings.TransitionSettings);
     PeptideIonTypes = PeptideIonTypes.Union(new[] { IonType.precursor, IonType.y }).ToArray(); // Add p, y if not already set
 }
        public TransitionSettingsControl(IModifyDocumentContainer documentContainer)
        {
            _documentContainer = documentContainer;
            InitializeComponent();

            foreach (string item in TransitionFilter.GetStartFragmentFinderLabels())
            {
                comboRangeFrom.Items.Add(item);
            }
            foreach (string item in TransitionFilter.GetEndFragmentFinderLabels())
            {
                comboRangeTo.Items.Add(item);
            }

            SetFields(_documentContainer.Document.Settings.TransitionSettings);
            PeptideIonTypes        = PeptideIonTypes.Union(new[] { IonType.precursor, IonType.y }).ToArray(); // Add p, y if not already set
            InitialPeptideIonTypes = PeptideIonTypes.ToArray();
        }