This commit is contained in:
Калышев Ян 2022-10-10 08:59:02 +04:00
parent 9bee85d77b
commit 22874006e0
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ namespace PIbd_22_Kalyshev_Y_V_MotorBoat_Base
/// <param name="e"></param>
private void ListBoxMaps_SelectedIndexChanged(object sender, EventArgs e)
{
pictureBox.Image = _mapsCollection[listBoxMaps.SelectedItem?.ToString() ?? string.Empty].ShowOnMap();
pictureBox.Image = _mapsCollection[listBoxMaps.SelectedItem?.ToString() ?? string.Empty].ShowSet();
}
/// <summary>
/// Удаление карты

View File

@ -49,7 +49,7 @@ namespace PIbd_22_Kalyshev_Y_V_MotorBoat_Base
{
return;
}
foreach (var key in _mapStorages.Keys)
foreach (var key in Keys)
{
if (key.Equals(name))
{