Lab5 Done++

This commit is contained in:
Artyom_Yashin 2023-11-09 17:18:06 +04:00
parent b9751a5fd0
commit 4e86ac6cb0

View File

@ -114,9 +114,8 @@ namespace ProjectAirBomber
}
FormPlaneConfig form = new FormPlaneConfig(pictureBoxCollection.Width, pictureBoxCollection.Height);
form.Show();
PlaneDelegate? planeDelegate = new((m) => {
bool q = (obj + m);
if (q)
PlaneDelegate? planeDelegate = new((plane) => {
if (obj + plane)
{
MessageBox.Show("Объект добавлен");
pictureBoxCollection.Image = obj.ShowPlanes();