diff --git a/ElectricLocomotive/ElectricLocomotive/DrawningElectricLocomotive.cs b/ElectricLocomotive/ElectricLocomotive/DrawningElectricLocomotive.cs index 5ea4c7c..7b811a7 100644 --- a/ElectricLocomotive/ElectricLocomotive/DrawningElectricLocomotive.cs +++ b/ElectricLocomotive/ElectricLocomotive/DrawningElectricLocomotive.cs @@ -17,7 +17,6 @@ namespace ElectricLocomotive private int _pictureHeight; - private int _startPosX; private int _startPosY; diff --git a/ElectricLocomotive/ElectricLocomotive/ElectricLocomotive.cs b/ElectricLocomotive/ElectricLocomotive/ElectricLocomotive.cs index 744b4dc..65f0e26 100644 --- a/ElectricLocomotive/ElectricLocomotive/ElectricLocomotive.cs +++ b/ElectricLocomotive/ElectricLocomotive/ElectricLocomotive.cs @@ -19,7 +19,6 @@ namespace ElectricLocomotive Graphics gr = Graphics.FromImage(bmp); _drawningElectricLocomotive.DrawTransport(gr); pictureBoxElectroLocomotiv.Image = bmp; - } private void buttonCreate_Click(object sender, EventArgs e)