Nevaeva K. A. LabWork05 #5

Closed
ksenia_nevaeva wants to merge 3 commits from Lab_5 into Lab_4
Showing only changes of commit 742275b7e4 - Show all commits

View File

@ -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>
/// Удаление объекта