private void model_SpectrumSelected(object sender, IdentificationFeatureSelectedEventArgs e) { if (SpectrumSelected != null) { SpectrumSelected(sender, e); } }
private void OnSpectrumSelected(UMCLight feature) { if (SpectrumSelected != null) { Peptide peptide = null; if (m_feature.Peptides != null && m_feature.Peptides.Count > 0) { peptide = m_feature.Peptides[0]; } var args = new IdentificationFeatureSelectedEventArgs( m_feature, peptide, feature); SpectrumSelected(this, args); } }
private void cluster_SpectrumSelected(object sender, IdentificationFeatureSelectedEventArgs e) { SelectedSpectrum = e.Spectrum; }