Лабораторная работа №1 финальный финал финала

This commit is contained in:
Ekaterina23578 2024-02-27 15:26:57 +04:00
parent c85015cb91
commit 6d4edf82dd

View File

@ -59,8 +59,8 @@ public partial class FormAirBomber : Form
Color.FromArgb(random.Next(0, 256), random.Next(0, 256), random.Next(0, 256)),
Convert.ToBoolean(random.Next(0, 2)), Convert.ToBoolean(random.Next(0, 2)));
_drawningAirBomber.SetPictureSize(pictureBoxAirBomber.Width, pictureBoxAirBomber.Height);
//_drawningAirBomber.SetPosition(random.Next(10, 100), random.Next(10, 100));
_drawningAirBomber.SetPosition(pictureBoxAirBomber.Width - 150, 0);
_drawningAirBomber.SetPosition(random.Next(10, 100), random.Next(10, 100));
Draw();
}