Доработка Лабораторной работы 3

This commit is contained in:
Almaz 2024-04-15 22:05:13 +04:00
parent 1aa2952a84
commit 14f38bda9e

View File

@ -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)));