лабораторная в процессе
This commit is contained in:
parent
98990e36de
commit
e3e51539c2
@ -32,15 +32,15 @@ public class DrawningEntityFighter : DrawningTrackedVehicle
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
base.DrawTransport(g);
|
||||||
|
|
||||||
if (fighter.Kovsh)
|
if (fighter.Kovsh)
|
||||||
{
|
{
|
||||||
|
|
||||||
//ковш
|
//ковш
|
||||||
g.DrawRectangle(pen, _startPosX.Value - 2, _startPosY.Value + 37, 8, 15);
|
g.DrawRectangle(pen, _startPosX.Value - 15, _startPosY.Value + 15, 8, 15);
|
||||||
g.FillRectangle(CraneBrush, _startPosX.Value - 2, _startPosY.Value + 37, 8, 15);
|
g.FillRectangle(CraneBrush, _startPosX.Value - 15, _startPosY.Value + 15, 8, 15);
|
||||||
g.DrawRectangle(pen, _startPosX.Value - -6, _startPosY.Value + 37, 4, 1);
|
g.DrawRectangle(pen, _startPosX.Value - 15, _startPosY.Value + , 4, 1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -52,6 +52,7 @@ public class DrawningEntityFighter : DrawningTrackedVehicle
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -121,7 +121,7 @@
|
|||||||
buttonAddFighter.TabIndex = 2;
|
buttonAddFighter.TabIndex = 2;
|
||||||
buttonAddFighter.Text = "Добавление истребителя";
|
buttonAddFighter.Text = "Добавление истребителя";
|
||||||
buttonAddFighter.UseVisualStyleBackColor = true;
|
buttonAddFighter.UseVisualStyleBackColor = true;
|
||||||
buttonAddFighter.Click += ButtonAddTrackedVehicle_Click;
|
buttonAddFighter.Click += ButtonAddEntityFighter_Click;
|
||||||
//
|
//
|
||||||
// comboBoxSelectorCompany
|
// comboBoxSelectorCompany
|
||||||
//
|
//
|
||||||
|
@ -70,6 +70,7 @@ public partial class FormTrackedVehicleCollection : Form
|
|||||||
GetColor(random),
|
GetColor(random),
|
||||||
GetColor(random),
|
GetColor(random),
|
||||||
Convert.ToBoolean(random.Next(0, 2)), Convert.ToBoolean(random.Next(0, 2)));
|
Convert.ToBoolean(random.Next(0, 2)), Convert.ToBoolean(random.Next(0, 2)));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user