Exemplo n.º 1
0
        public void UpdateStructureNames(string structureName)
        {
            if (!StructureNames.Contains(structureName))
            {
                StructureNames.Add(structureName);
            }

            if (!ContouredStructureNames.Contains(structureName))
            {
                ContouredStructureNames.Add(structureName);
            }

            SortStructureNames();
        }
Exemplo n.º 2
0
 public void SortStructureNames()
 {
     StructureNames          = new ObservableCollection <string>(StructureNames.OrderBy(s => s));
     ContouredStructureNames = new ObservableCollection <string>(ContouredStructureNames.OrderBy(s => s));
 }