Мелкие правки.

This commit is contained in:
Programmist73 2022-11-17 18:51:36 +04:00
parent ea0d683eb1
commit fd417fc6b6
3 changed files with 6 additions and 2 deletions

View File

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

View File

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