Фикс метода кнопки AddShip.
This commit is contained in:
parent
740b975dc7
commit
742275b7e4
@ -71,11 +71,11 @@ namespace ContainerShip
|
||||
{
|
||||
return;
|
||||
}
|
||||
var formAirBomberConfig = new FormShipConfig();
|
||||
formAirBomberConfig.AddEvent(new Action<DrawingShip>(ship => {
|
||||
var formShipConfig = new FormShipConfig();
|
||||
formShipConfig.AddEvent(new Action<DrawingShip>(ship => {
|
||||
_mapsCollection[listBoxMaps.SelectedItem?.ToString() ?? string.Empty].add(new DrawingObjectShip(ship));
|
||||
pictureBox.Image = _mapsCollection[listBoxMaps.SelectedItem?.ToString() ?? string.Empty].ShowSet();}));
|
||||
formAirBomberConfig.Show();
|
||||
formShipConfig.Show();
|
||||
}
|
||||
/// <summary>
|
||||
/// Удаление объекта
|
||||
|
Loading…
Reference in New Issue
Block a user