public void LoadCarController(string path, IProgress <string> progress) { _dataTableService.Reset(); _presetSkinService.Reset(); _presetCarService.Reset(); _carPartService.Reset(); _carService.Reset(); using (var ccr = new CarControllerReader(path)) { ccr.Read(progress); } }
public void CloseProject() { _dataTableService.Reset(); _presetSkinService.Reset(); _presetCarService.Reset(); _carPartService.Reset(); _carService.Reset(); if (_project != null) { Messenger.Default.Send(new ProjectMessage(null)); } _project = null; }