Незначительные правки

This commit is contained in:
Олег Кудринский 2024-02-29 15:17:34 +04:00
parent e9c9a9caff
commit 870095eb28
3 changed files with 3 additions and 3 deletions

View File

@ -211,7 +211,7 @@ public class DrawningContainerShip
g.DrawLine(pen, (int)_startPosX + 70, (int)_startPosY, (int)_startPosX + 110, (int)_startPosY + 5); g.DrawLine(pen, (int)_startPosX + 70, (int)_startPosY, (int)_startPosX + 110, (int)_startPosY + 5);
g.DrawLine(pen, (int)_startPosX + 110, (int)_startPosY, (int)_startPosX + 110, (int)_startPosY + 30); g.DrawLine(pen, (int)_startPosX + 110, (int)_startPosY, (int)_startPosX + 110, (int)_startPosY + 30);
//Хваталка контейнера //Хваталка крана
g.DrawLine(pen,(int)(_startPosX + 100),(int)(_startPosY + 30), (int)_startPosX + 120, (int)(_startPosY + 30)); g.DrawLine(pen,(int)(_startPosX + 100),(int)(_startPosY + 30), (int)_startPosX + 120, (int)(_startPosY + 30));
g.DrawLine(pen, (int)(_startPosX + 100), (int)(_startPosY + 30), (int)_startPosX + 100, (int)(_startPosY + 35)); g.DrawLine(pen, (int)(_startPosX + 100), (int)(_startPosY + 30), (int)_startPosX + 100, (int)(_startPosY + 35));
g.DrawLine(pen, (int)(_startPosX + 120), (int)(_startPosY + 30), (int)_startPosX + 120, (int)(_startPosY + 35)); g.DrawLine(pen, (int)(_startPosX + 120), (int)(_startPosY + 30), (int)_startPosX + 120, (int)(_startPosY + 35));

View File

@ -26,7 +26,7 @@
public Color AdditionalColor { get; private set; } public Color AdditionalColor { get; private set; }
/// <summary> /// <summary>
/// Признак (опция) наличия обвеса /// Признак (опция) наличия крана
/// </summary> /// </summary>
public bool Crane { get; private set; } public bool Crane { get; private set; }

View File

@ -21,7 +21,7 @@ public partial class FormContainerShip : Form
} }
/// <summary> /// <summary>
/// Метод прорисовки машины /// Метод прорисовки контейнеровоза
/// </summary> /// </summary>
private void Draw() private void Draw()
{ {