Polevoy S.V Lab_work3 #3

Merged
eegov merged 11 commits from LabWork03 into LabWork02 2022-10-07 09:57:40 +04:00
Showing only changes of commit a42103499a - Show all commits

View File

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