Мелкие правки.

This commit is contained in:
Anastasia 2022-11-28 16:51:04 +04:00
parent 6a1814926f
commit 575f9840a0
2 changed files with 6 additions and 17 deletions

View File

@ -172,7 +172,7 @@ namespace AirplaneWithRadar
{
EventAddAirplane?.Invoke(_airplane);
Close();
}
}
}
}

View File

@ -144,17 +144,6 @@ namespace AirplaneWithRadar
/// Метод отрисовки фона
/// </summary>
/// <param name="g"></param>
private void DrawHangar(Graphics g, int x, int y, int width, int height)
{
Pen pen = new(Color.Black, 3);
g.DrawLine(pen, x, y, x + width, y);
g.DrawLine(pen, x, y, x, y + height + 20);
g.DrawLine(pen, x, y + height + 20, x + width, y + height + 20);
}
/// <summary>
/// Метод отрисовки фона
/// </summary>
/// <param name="g"></param>
private void DrawBackground(Graphics g)
{
Pen pen = new(Color.White, 5);