public void SetBodyTypes(List <KVPBase> data)
 {
     data = data.OrderBy(p => p.Name).ToList();
     BodyTypes.Clear();
     foreach (var item in data)
     {
         BodyTypes.Add(item);
     }
 }
Пример #2
0
 public void SetBodyTypes(List <KVPBase> data)
 {
     data = data.OrderBy(p => p.Name).ToList();
     BodyTypes.Clear();
     data.ForEach(o => BodyTypes.Add(o));
     if (LoadBodiesComplete != null)
     {
         LoadBodiesComplete(this, new EventArgs());
     }
 }
Пример #3
0
 private void ClearLists()
 {
     Marks.Clear(); Models.Clear();
     EngineTypes.Clear(); EngineVolumes.Clear(); BodyTypes.Clear(); TransTypes.Clear();
 }