Ejemplo n.º 1
0
        private void Search_TextChanged(object sender, TextChangedEventArgs e)
        {
            string txt = (sender as TextBox).Text;

            if (txt == "")
            {
                proteinView.Filter = null;
            }
            else
            {
                proteinView.Filter = obj =>
                {
                    ProteinForTreeView prot = obj as ProteinForTreeView;
                    return((prot.Accession.ToString()).StartsWith(txt) || prot.DisplayName.ToUpper().Contains(txt.ToUpper()));
                };
            }
        }
Ejemplo n.º 2
0
 private void DrawSequenceCoverageMap(ProteinForTreeView protein) //string accession, Dictionary<string, PeptideForTreeView> uniquePeptides, Dictionary<string, PeptideForTreeView> sharedPeptides)
 {
     // will need to borrow from metadraw
 }