for pull request

This commit is contained in:
malimova 2023-12-13 15:49:33 +04:00
parent d2624a12bb
commit 8aa5bce7ba
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@
Controls.Add(buttonCreate); Controls.Add(buttonCreate);
Controls.Add(pictureBoxObject); Controls.Add(pictureBoxObject);
Name = "FormAdditionalGeneric"; Name = "FormAdditionalGeneric";
Text = "FormAdditionalGeneric"; Text = "Генерация самолетов";
((System.ComponentModel.ISupportInitialize)pictureBoxObject).EndInit(); ((System.ComponentModel.ISupportInitialize)pictureBoxObject).EndInit();
ResumeLayout(false); ResumeLayout(false);
} }

View File

@ -48,7 +48,7 @@ namespace AirBomber
Draw(); Draw();
} }
} }
public EntityAirPlane CreateRandomPlane() public EntityAirPlane CreateRandomPlane()
{ {
Color color = Color.FromArgb(random.Next(0, 256), random.Next(0, 256), random.Next(0, 256)); Color color = Color.FromArgb(random.Next(0, 256), random.Next(0, 256), random.Next(0, 256));