public void SetTransTypes(List <KVPBase> data)
 {
     data = data.OrderBy(p => p.Name).ToList();
     TransTypes.Clear();
     foreach (var item in data)
     {
         TransTypes.Add(item);
     }
 }
Esempio n. 2
0
 public void SetTransTypes(List <KVPBase> data)
 {
     data = data.OrderBy(p => p.Name).ToList();
     TransTypes.Clear();
     data.ForEach(o => TransTypes.Add(o));
     if (LoadTransmissionsComplete != null)
     {
         LoadTransmissionsComplete(this, new EventArgs());
     }
 }