From 14f38bda9e0c1a438b5d6e09b5576cf8a29de5f2 Mon Sep 17 00:00:00 2001 From: Almaz <79022113685@mail.ru> Date: Mon, 15 Apr 2024 22:05:13 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B0=20=D0=9B=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=BD=D0=BE=D0=B9=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=8B?= =?UTF-8?q?=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProjectCruiser/ProjectCruiser/FormCruiserCollection.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ProjectCruiser/ProjectCruiser/FormCruiserCollection.cs b/ProjectCruiser/ProjectCruiser/FormCruiserCollection.cs index 4c8f4e1..64d0eb7 100644 --- a/ProjectCruiser/ProjectCruiser/FormCruiserCollection.cs +++ b/ProjectCruiser/ProjectCruiser/FormCruiserCollection.cs @@ -58,8 +58,8 @@ public partial class FormCruiserCollection : Form drawningCruiser = new DrawningMilitaryCruiser(random.Next(100, 300), random.Next(1000, 3000), - Color.FromArgb(random.Next(0, 256), random.Next(0, 256), random.Next(0, 256)), - Color.FromArgb(random.Next(0, 256), random.Next(0, 256), random.Next(0, 256)), + GetColor(random), + GetColor(random), Convert.ToBoolean(random.Next(0, 2)), Convert.ToBoolean(random.Next(0, 2)), Convert.ToBoolean(random.Next(0, 2)));