diff --git a/Airbus/Airbus/DrawningObjectAirbus.cs b/Airbus/Airbus/DrawningObjectPlane.cs similarity index 87% rename from Airbus/Airbus/DrawningObjectAirbus.cs rename to Airbus/Airbus/DrawningObjectPlane.cs index c207cd7..0af9cab 100644 --- a/Airbus/Airbus/DrawningObjectAirbus.cs +++ b/Airbus/Airbus/DrawningObjectPlane.cs @@ -6,13 +6,13 @@ using System.Threading.Tasks; namespace Airbus { - internal class DrawningObjectAirbus : IDrawningObject + internal class DrawningObjectPlane : IDrawningObject { private DrawningAirbus _airbus; public float Step => _airbus?.Airbus?.Step ?? 0; - public DrawningObjectAirbus(DrawningAirbus airbus) + public DrawningObjectPlane(DrawningAirbus airbus) { _airbus = airbus; } diff --git a/Airbus/Airbus/FormAirbus.Designer.cs b/Airbus/Airbus/FormAirbus.Designer.cs index 3713d67..8f24a42 100644 --- a/Airbus/Airbus/FormAirbus.Designer.cs +++ b/Airbus/Airbus/FormAirbus.Designer.cs @@ -1,6 +1,6 @@ namespace Airbus { - partial class FormAirbus + partial class Form1 { /// /// Required designer variable. @@ -28,7 +28,7 @@ /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormAirbus)); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.pictureBoxAirbus = new System.Windows.Forms.PictureBox(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripStatusLabelSpeed = new System.Windows.Forms.ToolStripStatusLabel(); diff --git a/Airbus/Airbus/FormAirbus.cs b/Airbus/Airbus/FormAirbus.cs index 08fd0b6..1f8e0a0 100644 --- a/Airbus/Airbus/FormAirbus.cs +++ b/Airbus/Airbus/FormAirbus.cs @@ -10,11 +10,11 @@ using System.Windows.Forms; namespace Airbus { - public partial class FormAirbus : Form + public partial class Form1 : Form { private DrawningAirbus _airbus; - public FormAirbus() + public Form1() { InitializeComponent(); } diff --git a/Airbus/Airbus/FormAirbus.resx b/Airbus/Airbus/FormAirbus.resx index 2e6fdd9..e397a18 100644 --- a/Airbus/Airbus/FormAirbus.resx +++ b/Airbus/Airbus/FormAirbus.resx @@ -64,7 +64,7 @@ iVBORw0KGgoAAAANSUhEUgAAA5gAAAOYBAMAAABC5kGOAAAABGdBTUEAALGPC/xhBQAAABtQTFRF//// - AAAA5ubmAP8Aq6urAP4AAI0AVVVVAEAANUbI4gAAAAlwSFlzAAAOvQAADr0BR/uQrQAAFsZJREFUeNrt + AAAA5ubmAP8Aq6urAP4AAI0AVVVVAEAANUbI4gAAAAlwSFlzAAAOvAAADrwBlbxySQAAFsZJREFUeNrt nT2LJMkVRZNC0O4WNDtrptppWxS9rDkjBLLFMItcIRZkqmBBrtbS/mzNR+1OV1V+RGbGu++9yHO9O1bl HE69jIzI6u7pS/ruSxqs/eGvv3z389t2L/BrbfriPtc/nI8f86bdC/xam764z3l3/JzHVi/wVW364j7l +XjJvxu9wFe16Yv7lPNvMB8bvcCb+jGHyz+1VvuH4+952+IFvq5dyxf3qZy/wvxvixe4I5ivxTw+Hp6A @@ -168,7 +168,7 @@ iVBORw0KGgoAAAANSUhEUgAAA5gAAAOYBAMAAABC5kGOAAAABGdBTUEAALGPC/xhBQAAABtQTFRF//// - AAAA5ubmAP8Aq6urAP4AAI0AVVVVAEAANUbI4gAAAAlwSFlzAAAOvQAADr0BR/uQrQAAFodJREFUeNrt + AAAA5ubmAP8Aq6urAP4AAI0AVVVVAEAANUbI4gAAAAlwSFlzAAAOvAAADrwBlbxySQAAFodJREFUeNrt nU2PHEd2RQsFAdy6BvRQy56GAf+AhgwvJcOA1gYhw1vD0KxbhhbeDgb632aTzSYZnVFVWRkf7508x6s3 Xsx0HVxGRUTeysPhcLz/xOETA8affzvBeff7lA92/H/n8afTDni7C5l3u3D5ZHMHMr877YQf+TL3EswP 0Rwv88PH+/wfPf8nvcfTbhj8wX6cx/53vjnthke8zL+cdsM/4GXit5hfeKdMDt/jZZ52BF3m8bQj7uAy @@ -271,7 +271,7 @@ iVBORw0KGgoAAAANSUhEUgAAA5gAAAOYBAMAAABC5kGOAAAABGdBTUEAALGPC/xhBQAAABtQTFRF//// - AAAA5ubmAP8Aq6urAP4AAI0AVVVVAEAANUbI4gAAAAlwSFlzAAAOvQAADr0BR/uQrQAAGCxJREFUeNrt + AAAA5ubmAP8Aq6urAP4AAI0AVVVVAEAANUbI4gAAAAlwSFlzAAAOvAAADrwBlbxySQAAGCxJREFUeNrt nU2LHEcWRdNFg2dbM7bby6LwP2jK6xEY/ANEe2+M963GMLM1xoN/9thSy5Ki4kXlV0S8G++c3dNGBIeb 2ZWRN2M6n0/TO87vGG48Hb7/9Y9fTuMu8O8xgMzDm+Of3J+QqT+eXh3f8gUy9cfPjy88DbrAQDLfB/PP C+005ALPgWTeHY9JNJEpO372QeZLNJGpOn64yv4VzcN4C/x4HF7mm49k3p/GW+DH4/CX2ePHPA24wHNU diff --git a/Airbus/Airbus/FormMap.cs b/Airbus/Airbus/FormMap.cs index 833a002..3575d79 100644 --- a/Airbus/Airbus/FormMap.cs +++ b/Airbus/Airbus/FormMap.cs @@ -28,7 +28,7 @@ namespace Airbus toolStripStatusLabelCorpusColor.Text = $"Цвет: {airbus.Airbus?.CorpusColor.Name}"; pictureBoxAirbus.Image = _abstractMap.CreateMap(pictureBoxAirbus.Width, pictureBoxAirbus.Height, - new DrawningObjectAirbus(airbus)); + new DrawningObjectPlane(airbus)); }