Мелкие правки.
This commit is contained in:
parent
6a1814926f
commit
575f9840a0
@ -172,7 +172,7 @@ namespace AirplaneWithRadar
|
|||||||
{
|
{
|
||||||
EventAddAirplane?.Invoke(_airplane);
|
EventAddAirplane?.Invoke(_airplane);
|
||||||
Close();
|
Close();
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
@ -144,17 +144,6 @@ namespace AirplaneWithRadar
|
|||||||
/// Метод отрисовки фона
|
/// Метод отрисовки фона
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="g"></param>
|
/// <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)
|
private void DrawBackground(Graphics g)
|
||||||
{
|
{
|
||||||
Pen pen = new(Color.White, 5);
|
Pen pen = new(Color.White, 5);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user