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