예제 #1
0
        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);
            }
        }
예제 #2
0
        public void CloseProject()
        {
            _dataTableService.Reset();
            _presetSkinService.Reset();
            _presetCarService.Reset();
            _carPartService.Reset();
            _carService.Reset();

            if (_project != null)
            {
                Messenger.Default.Send(new ProjectMessage(null));
            }

            _project = null;
        }