Eliseev E.E. LabWork07 #8

Closed
ElEgEv wants to merge 10 commits from LabWork07 into LabWork06
3 changed files with 6 additions and 2 deletions
Showing only changes of commit fd417fc6b6 - Show all commits

View File

@ -282,6 +282,7 @@ namespace Airbus
_logger.LogInformation("Загрузка данных из файла '{0}' прошла успешно", openFileDialog.FileName);
MessageBox.Show("Загрузка данных прошла успешно", "Результат",
MessageBoxButtons.OK, MessageBoxIcon.Information);
ReloadMaps();
}
catch(Exception ex)
{

View File

@ -113,7 +113,7 @@ namespace Airbus
}
_mapStorage.Add(element[0], new MapWithSetPlanesGeneric<IDrawningObject, AbstractMap>(_pictureWidth, _pictureHeight,
map));
map));
_mapStorage[element[0]].LoadData(element[2].Split(separatorData, StringSplitOptions.RemoveEmptyEntries));
}

View File

@ -1 +1,4 @@
MapsCollection
123|DesertStormMap|1000:750:Blue;
6543|StarWarsMap|1000:750:Red:Red:True:True;
9876|SimpleMap|1000:750:Lime;