From 9d7d666aa87ed31a48ef99364d0b7b47b57138ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0=20=D0=A8=D0=B8=D0=BF?= =?UTF-8?q?=D0=B8=D0=BB=D0=BE=D0=B2?= <116575516+LAYT73@users.noreply.github.com> Date: Sun, 17 Mar 2024 22:05:38 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D0=B8=D0=B7?= =?UTF-8?q?=20=D0=BA=D0=BE=D0=B4=D0=B0=20=D0=B4=D0=BE=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D0=BD=D0=B8=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D0=BE=D0=B5=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProjectSeaplane/ProjectSeaplane/FormSeaplane.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectSeaplane/ProjectSeaplane/FormSeaplane.cs b/ProjectSeaplane/ProjectSeaplane/FormSeaplane.cs index 4bebba2..3e9e366 100644 --- a/ProjectSeaplane/ProjectSeaplane/FormSeaplane.cs +++ b/ProjectSeaplane/ProjectSeaplane/FormSeaplane.cs @@ -42,7 +42,7 @@ namespace ProjectSeaplane Convert.ToBoolean(random.Next(0,2)), Convert.ToBoolean(random.Next(0, 2)) ); _drawingSeaplane.SetPictureSize(pictureBoxSeaplane.Width, pictureBoxSeaplane.Height); - _drawingSeaplane.SetPosition(pictureBoxSeaplane.Width - 190 - random.Next(10, 100), pictureBoxSeaplane.Height - 85 - random.Next(10, 100)); + _drawingSeaplane.SetPosition(random.Next(10, 100), random.Next(10, 100)); Draw(); }