Исправление

This commit is contained in:
Overlordddd 2022-10-03 16:30:06 +04:00
parent b25aaeb081
commit a42103499a

View File

@ -23,9 +23,9 @@ namespace Artilleries
{ {
Random rnd = new(); Random rnd = new();
artillery.SetPosition(rnd.Next(10, 100), rnd.Next(10, 100), pictureBoxArtilleries.Width, pictureBoxArtilleries.Height); artillery.SetPosition(rnd.Next(10, 100), rnd.Next(10, 100), pictureBoxArtilleries.Width, pictureBoxArtilleries.Height);
SpeedStatusLabel.Text = $"Скорость: {artillery.Artillery.Speed}"; SpeedStatusLabel.Text = $"Ñêîðîñòü: {artillery.Artillery.Speed}";
WeightStatusLabel.Text = $"Вес: {artillery.Artillery.Weight}"; WeightStatusLabel.Text = $"Âåñ: {artillery.Artillery.Weight}";
ColorStatusLabel.Text = $"Цвет: {artillery.Artillery.BodyColor.Name}"; ColorStatusLabel.Text = $"Öâåò: {artillery.Artillery.BodyColor.Name}";
} }
private void buttonCreate_Click(object sender, EventArgs e) private void buttonCreate_Click(object sender, EventArgs e)