From bb6a8b027552817fea194ed507d87267e7dba079 Mon Sep 17 00:00:00 2001 From: Yunusov_Niyaz Date: Thu, 28 Sep 2023 17:22:01 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=A01=20=D0=B3=D0=BE=D1=82=D0=BE=D0=B2?= =?UTF-8?q?=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Trolleybus/Trolleybus/DirectionType.cs | 16 ++ Trolleybus/Trolleybus/DrawingTrolleybus.cs | 141 ++++++++++++++++++ Trolleybus/Trolleybus/EntityTrolleybus.cs | 36 +++++ Trolleybus/Trolleybus/Form1.Designer.cs | 39 ----- Trolleybus/Trolleybus/Form1.cs | 10 -- .../Trolleybus/FormTrolleybus.Designer.cs | 123 +++++++++++++++ Trolleybus/Trolleybus/FormTrolleybus.cs | 61 ++++++++ .../{Form1.resx => FormTrolleybus.resx} | 50 +++---- Trolleybus/Trolleybus/Program.cs | 2 +- .../Properties/Resources.Designer.cs | 103 +++++++++++++ .../Trolleybus/Properties/Resources.resx | 133 +++++++++++++++++ Trolleybus/Trolleybus/Resources/Down.png | Bin 0 -> 2952 bytes Trolleybus/Trolleybus/Resources/Left.png | Bin 0 -> 2874 bytes Trolleybus/Trolleybus/Resources/Right.png | Bin 0 -> 2542 bytes Trolleybus/Trolleybus/Resources/Up.png | Bin 0 -> 3018 bytes Trolleybus/Trolleybus/Trolleybus.csproj | 15 ++ 16 files changed, 654 insertions(+), 75 deletions(-) create mode 100644 Trolleybus/Trolleybus/DirectionType.cs create mode 100644 Trolleybus/Trolleybus/DrawingTrolleybus.cs create mode 100644 Trolleybus/Trolleybus/EntityTrolleybus.cs delete mode 100644 Trolleybus/Trolleybus/Form1.Designer.cs delete mode 100644 Trolleybus/Trolleybus/Form1.cs create mode 100644 Trolleybus/Trolleybus/FormTrolleybus.Designer.cs create mode 100644 Trolleybus/Trolleybus/FormTrolleybus.cs rename Trolleybus/Trolleybus/{Form1.resx => FormTrolleybus.resx} (93%) create mode 100644 Trolleybus/Trolleybus/Properties/Resources.Designer.cs create mode 100644 Trolleybus/Trolleybus/Properties/Resources.resx create mode 100644 Trolleybus/Trolleybus/Resources/Down.png create mode 100644 Trolleybus/Trolleybus/Resources/Left.png create mode 100644 Trolleybus/Trolleybus/Resources/Right.png create mode 100644 Trolleybus/Trolleybus/Resources/Up.png diff --git a/Trolleybus/Trolleybus/DirectionType.cs b/Trolleybus/Trolleybus/DirectionType.cs new file mode 100644 index 0000000..f56c58b --- /dev/null +++ b/Trolleybus/Trolleybus/DirectionType.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Trolleybus +{ + public enum DirectionType + { + Up = 1, + Down = 2, + Left = 3, + Right = 4 + } +} diff --git a/Trolleybus/Trolleybus/DrawingTrolleybus.cs b/Trolleybus/Trolleybus/DrawingTrolleybus.cs new file mode 100644 index 0000000..0625037 --- /dev/null +++ b/Trolleybus/Trolleybus/DrawingTrolleybus.cs @@ -0,0 +1,141 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Text; +using System.Threading.Tasks; + +namespace Trolleybus +{ + public class DrawingTrolleybus + { + public EntityTrolleybus? EntityTrolleybus { get; private set; } + + private int _pictureWidth; + + private int _pictureHeight; + + private int _startPosX; + + private int _startPosY; + + private readonly int _trolleybusWidth = 170; + + private readonly int _trolleybusHeight = 124; + + public bool Init(int speed, double weight, Color bodyColor, Color additionalColor, bool roga, bool battery, int width, int height) + { + _pictureWidth = width; + _pictureHeight = height; + if (_trolleybusWidth > _pictureWidth || _trolleybusHeight > _pictureHeight) + return false; + EntityTrolleybus = new EntityTrolleybus(); + EntityTrolleybus.Init(speed, weight, bodyColor, additionalColor, roga, battery); + return true; + } + public void SetPosition(int x, int y) + { + if (x < 0 || y < 0 || x + _trolleybusWidth >= _pictureWidth || y + _trolleybusHeight >= _pictureHeight) + x = y = 10; + _startPosX = x; + _startPosY = y; + } + public void MoveTransport(DirectionType direction) + { + if (EntityTrolleybus == null) + { + return; + } + switch (direction) + { + case DirectionType.Left: + if (_startPosX - EntityTrolleybus.Step > 0) + { + _startPosX -= (int)EntityTrolleybus.Step; + } + break; + case DirectionType.Up: + if (_startPosY - EntityTrolleybus.Step > 0) + { + _startPosY -= (int)EntityTrolleybus.Step; + } + break; + case DirectionType.Right: + if (_startPosX + EntityTrolleybus.Step + _trolleybusWidth < _pictureWidth) + { + _startPosX += (int)EntityTrolleybus.Step; + } + break; + case DirectionType.Down: + if (_startPosY + EntityTrolleybus.Step + _trolleybusHeight < _pictureHeight) + { + _startPosY += (int)EntityTrolleybus.Step; + } + break; + } + } + public void DrawTransport(Graphics g) + { + if (EntityTrolleybus == null) + { + return; + } + Pen pen = new(Color.Black); + Brush additionalBrush = new + SolidBrush(EntityTrolleybus.AdditionalColor); + //кузов + Brush br = new SolidBrush(EntityTrolleybus.BodyColor); + g.FillRectangle(br, _startPosX + 6, _startPosY + 31, 164, 79); + //"рога" + if (EntityTrolleybus.Roga) + { + g.DrawLine(new Pen(Color.Black, 3), _startPosX + 120, _startPosY + 30, _startPosX + 20, _startPosY + 3); + g.DrawLine(new Pen(Color.Black, 3), _startPosX + 140, _startPosY + 30, _startPosX + 40, _startPosY + 3); + g.DrawLine(new Pen(Color.Black, 1), _startPosX + 40, _startPosY + 30, _startPosX + 20, _startPosY + 3); + g.DrawLine(new Pen(Color.Black, 1), _startPosX + 60, _startPosY + 30, _startPosX + 40, _startPosY + 3); + } + //задние фары + Brush brRed = new SolidBrush(Color.Red); + g.FillRectangle(brRed, _startPosX + 5, _startPosY + 85, 10, 20); + //передние фары + Brush brYellow = new SolidBrush(Color.Yellow); + g.FillRectangle(brYellow, _startPosX + 160, _startPosY + 85, 10, 20); + //стекла + Brush brBlue = new SolidBrush(Color.LightBlue); + g.FillRectangle(brBlue, _startPosX + 150, _startPosY + 40, 20, 40); + g.FillEllipse(brBlue, _startPosX + 10, _startPosY + 40, 20, 40); + g.FillEllipse(brBlue, _startPosX + 35, _startPosY + 40, 20, 40); + g.FillEllipse(brBlue, _startPosX + 95, _startPosY + 40, 20, 40); + g.FillEllipse(brBlue, _startPosX + 120, _startPosY + 40, 20, 40); + //дверь + Brush brDoor = new SolidBrush(EntityTrolleybus.AdditionalColor); + g.FillRectangle(brDoor, _startPosX + 60, _startPosY + 50, 30, 60); + //колеса + Brush brblack = new SolidBrush(Color.Black); + g.FillEllipse(brblack, _startPosX + 25, _startPosY + 95, 30, 30); + g.FillEllipse(brblack, _startPosX + 120, _startPosY + 95, 30, 30); + //Батарея + if(EntityTrolleybus.Battery) + { + Brush brBattery = new SolidBrush(EntityTrolleybus.AdditionalColor); + g.FillRectangle(brBattery, _startPosX + 95, _startPosY + 85, 20, 25); + g.DrawLine(new Pen(Color.Yellow, 2), _startPosX + 112, _startPosY + 90, _startPosX + 97, _startPosY + 100); + g.DrawLine(new Pen(Color.Yellow, 2), _startPosX + 97, _startPosY + 100, _startPosX + 112, _startPosY + 100); + g.DrawLine(new Pen(Color.Yellow, 2), _startPosX + 112, _startPosY + 100, _startPosX + 97, _startPosY + 110); + g.DrawRectangle(pen, _startPosX + 95, _startPosY + 85, 20, 25); + } + //границы троллейбуса + g.DrawRectangle(pen, _startPosX + 5, _startPosY + 30, 165, 80); + g.DrawEllipse(pen, _startPosX + 25, _startPosY + 95, 30, 30); + g.DrawEllipse(pen, _startPosX + 120, _startPosY + 95, 30, 30); + g.DrawRectangle(pen, _startPosX + 5, _startPosY + 85, 10, 20); + g.DrawRectangle(pen, _startPosX + 160, _startPosY + 85, 10, 20); + g.DrawRectangle(pen, _startPosX + 60, _startPosY + 50, 30, 60); + g.DrawRectangle(pen, _startPosX + 150, _startPosY + 40, 20, 40); + g.DrawEllipse(pen, _startPosX + 10, _startPosY + 40, 20, 40); + g.DrawEllipse(pen, _startPosX + 35, _startPosY + 40, 20, 40); + g.DrawEllipse(pen, _startPosX + 95, _startPosY + 40, 20, 40); + g.DrawEllipse(pen, _startPosX + 120, _startPosY + 40, 20, 40); + } + } +} diff --git a/Trolleybus/Trolleybus/EntityTrolleybus.cs b/Trolleybus/Trolleybus/EntityTrolleybus.cs new file mode 100644 index 0000000..cf6227c --- /dev/null +++ b/Trolleybus/Trolleybus/EntityTrolleybus.cs @@ -0,0 +1,36 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Trolleybus +{ + public class EntityTrolleybus + { + public int Speed { get; private set; } + + public double Weight { get; private set; } + + public Color BodyColor { get; private set; } + + public Color AdditionalColor { get; private set; } + + public bool Roga { get; private set; } + + public bool Battery { get; private set; } + + public double Step => (double)Speed * 100 / Weight; + + public void Init(int speed, double weight, Color bodyColor, Color + additionalColor, bool roga, bool battery) + { + Speed = speed; + Weight = weight; + BodyColor = bodyColor; + AdditionalColor = additionalColor; + Roga = roga; + Battery = battery; + } + } +} diff --git a/Trolleybus/Trolleybus/Form1.Designer.cs b/Trolleybus/Trolleybus/Form1.Designer.cs deleted file mode 100644 index 3e7bdc6..0000000 --- a/Trolleybus/Trolleybus/Form1.Designer.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace Trolleybus -{ - partial class Form1 - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); - this.Text = "Form1"; - } - - #endregion - } -} \ No newline at end of file diff --git a/Trolleybus/Trolleybus/Form1.cs b/Trolleybus/Trolleybus/Form1.cs deleted file mode 100644 index f00497b..0000000 --- a/Trolleybus/Trolleybus/Form1.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Trolleybus -{ - public partial class Form1 : Form - { - public Form1() - { - InitializeComponent(); - } - } -} \ No newline at end of file diff --git a/Trolleybus/Trolleybus/FormTrolleybus.Designer.cs b/Trolleybus/Trolleybus/FormTrolleybus.Designer.cs new file mode 100644 index 0000000..6405f4f --- /dev/null +++ b/Trolleybus/Trolleybus/FormTrolleybus.Designer.cs @@ -0,0 +1,123 @@ +namespace Trolleybus +{ + partial class FormTrolleybus + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + pictureBoxTrolleybus = new PictureBox(); + buttonCreate = new Button(); + buttonRight = new Button(); + buttonDown = new Button(); + buttonLeft = new Button(); + buttonUp = new Button(); + ((System.ComponentModel.ISupportInitialize)pictureBoxTrolleybus).BeginInit(); + SuspendLayout(); + // pictureBoxTrolleybus + pictureBoxTrolleybus.Dock = DockStyle.Fill; + pictureBoxTrolleybus.Location = new Point(0, 0); + pictureBoxTrolleybus.Name = "pictureBoxTrolleybus"; + pictureBoxTrolleybus.Size = new Size(884, 461); + pictureBoxTrolleybus.SizeMode = PictureBoxSizeMode.AutoSize; + pictureBoxTrolleybus.TabIndex = 0; + pictureBoxTrolleybus.TabStop = false; + // buttonCreate + buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; + buttonCreate.Location = new Point(12, 426); + buttonCreate.Name = "buttonCreate"; + buttonCreate.Size = new Size(75, 23); + buttonCreate.TabIndex = 1; + buttonCreate.Text = "Создать"; + buttonCreate.UseVisualStyleBackColor = true; + buttonCreate.Click += ButtonCreate_Click; + // buttonRight + buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonRight.BackgroundImage = Properties.Resources.Right; + buttonRight.BackgroundImageLayout = ImageLayout.Zoom; + buttonRight.Location = new Point(842, 419); + buttonRight.Name = "buttonRight"; + buttonRight.Size = new Size(30, 30); + buttonRight.TabIndex = 2; + buttonRight.UseVisualStyleBackColor = true; + buttonRight.Click += ButtonMove_Click; + // buttonDown + buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonDown.BackgroundImage = Properties.Resources.Down; + buttonDown.BackgroundImageLayout = ImageLayout.Zoom; + buttonDown.Location = new Point(806, 419); + buttonDown.Name = "buttonDown"; + buttonDown.Size = new Size(30, 30); + buttonDown.TabIndex = 3; + buttonDown.UseVisualStyleBackColor = true; + buttonDown.Click += ButtonMove_Click; + // buttonLeft + buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonLeft.BackgroundImage = Properties.Resources.Left; + buttonLeft.BackgroundImageLayout = ImageLayout.Zoom; + buttonLeft.Location = new Point(770, 419); + buttonLeft.Name = "buttonLeft"; + buttonLeft.Size = new Size(30, 30); + buttonLeft.TabIndex = 4; + buttonLeft.UseVisualStyleBackColor = true; + buttonLeft.Click += ButtonMove_Click; + // buttonUp + buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; + buttonUp.BackgroundImage = Properties.Resources.Up; + buttonUp.BackgroundImageLayout = ImageLayout.Zoom; + buttonUp.Location = new Point(806, 383); + buttonUp.Name = "buttonUp"; + buttonUp.Size = new Size(30, 30); + buttonUp.TabIndex = 5; + buttonUp.UseVisualStyleBackColor = true; + buttonUp.Click += ButtonMove_Click; + // FormTrolleybus + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(884, 461); + Controls.Add(buttonUp); + Controls.Add(buttonLeft); + Controls.Add(buttonDown); + Controls.Add(buttonRight); + Controls.Add(buttonCreate); + Controls.Add(pictureBoxTrolleybus); + Name = "FormTrolleybus"; + StartPosition = FormStartPosition.CenterScreen; + Text = "Троллейбус"; + ((System.ComponentModel.ISupportInitialize)pictureBoxTrolleybus).EndInit(); + ResumeLayout(false); + PerformLayout(); + } + + #endregion + + private PictureBox pictureBoxTrolleybus; + private Button buttonCreate; + private Button buttonRight; + private Button buttonDown; + private Button buttonLeft; + private Button buttonUp; + } +} \ No newline at end of file diff --git a/Trolleybus/Trolleybus/FormTrolleybus.cs b/Trolleybus/Trolleybus/FormTrolleybus.cs new file mode 100644 index 0000000..bb5b2c6 --- /dev/null +++ b/Trolleybus/Trolleybus/FormTrolleybus.cs @@ -0,0 +1,61 @@ +namespace Trolleybus +{ + public partial class FormTrolleybus : Form + { + private DrawingTrolleybus? _drawningTrolleybus; + + public FormTrolleybus() + { + InitializeComponent(); + } + private void Draw() + { + if (_drawningTrolleybus == null) + { + return; + } + Bitmap bmp = new Bitmap(pictureBoxTrolleybus.Width, pictureBoxTrolleybus.Height); + Graphics gr = Graphics.FromImage(bmp); + _drawningTrolleybus.DrawTransport(gr); + pictureBoxTrolleybus.Image = bmp; + } + private void ButtonCreate_Click(object sender, EventArgs e) + { + Random random = new Random(); + _drawningTrolleybus = new DrawingTrolleybus(); + _drawningTrolleybus.Init(random.Next(100, 300), random.Next(1000, 3000), + Color.FromArgb(random.Next(0, 256), random.Next(0, 256), random.Next(0, 256)), + Color.FromArgb(random.Next(0, 256), random.Next(0, 256), random.Next(0, 256)), + Convert.ToBoolean(random.Next(0, 2)), + Convert.ToBoolean(random.Next(0, 2)), pictureBoxTrolleybus.Width, pictureBoxTrolleybus.Height); + { + _drawningTrolleybus.SetPosition(random.Next(10, 100), random.Next(10, 100)); + Draw(); + } + } + private void ButtonMove_Click(object sender, EventArgs e) + { + if (_drawningTrolleybus == null) + { + return; + } + string name = ((Button)sender)?.Name ?? string.Empty; + switch (name) + { + case "buttonUp": + _drawningTrolleybus.MoveTransport(DirectionType.Up); + break; + case "buttonDown": + _drawningTrolleybus.MoveTransport(DirectionType.Down); + break; + case "buttonLeft": + _drawningTrolleybus.MoveTransport(DirectionType.Left); + break; + case "buttonRight": + _drawningTrolleybus.MoveTransport(DirectionType.Right); + break; + } + Draw(); + } + } +} \ No newline at end of file diff --git a/Trolleybus/Trolleybus/Form1.resx b/Trolleybus/Trolleybus/FormTrolleybus.resx similarity index 93% rename from Trolleybus/Trolleybus/Form1.resx rename to Trolleybus/Trolleybus/FormTrolleybus.resx index 1af7de1..af32865 100644 --- a/Trolleybus/Trolleybus/Form1.resx +++ b/Trolleybus/Trolleybus/FormTrolleybus.resx @@ -1,17 +1,17 @@  - diff --git a/Trolleybus/Trolleybus/Program.cs b/Trolleybus/Trolleybus/Program.cs index 2cc4de4..1e98dfe 100644 --- a/Trolleybus/Trolleybus/Program.cs +++ b/Trolleybus/Trolleybus/Program.cs @@ -11,7 +11,7 @@ namespace Trolleybus // To customize application configuration such as set high DPI settings or default font, // see https://aka.ms/applicationconfiguration. ApplicationConfiguration.Initialize(); - Application.Run(new Form1()); + Application.Run(new FormTrolleybus()); } } } \ No newline at end of file diff --git a/Trolleybus/Trolleybus/Properties/Resources.Designer.cs b/Trolleybus/Trolleybus/Properties/Resources.Designer.cs new file mode 100644 index 0000000..6d1b175 --- /dev/null +++ b/Trolleybus/Trolleybus/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace Trolleybus.Properties { + using System; + + + /// + /// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д. + /// + // Этот класс создан автоматически классом StronglyTypedResourceBuilder + // с помощью такого средства, как ResGen или Visual Studio. + // Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen + // с параметром /str или перестройте свой проект VS. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Trolleybus.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Перезаписывает свойство CurrentUICulture текущего потока для всех + /// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Down { + get { + object obj = ResourceManager.GetObject("Down", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Left { + get { + object obj = ResourceManager.GetObject("Left", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Right { + get { + object obj = ResourceManager.GetObject("Right", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Up { + get { + object obj = ResourceManager.GetObject("Up", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/Trolleybus/Trolleybus/Properties/Resources.resx b/Trolleybus/Trolleybus/Properties/Resources.resx new file mode 100644 index 0000000..38bb323 --- /dev/null +++ b/Trolleybus/Trolleybus/Properties/Resources.resx @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\Down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Left.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Right.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Up.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/Trolleybus/Trolleybus/Resources/Down.png b/Trolleybus/Trolleybus/Resources/Down.png new file mode 100644 index 0000000000000000000000000000000000000000..57653876bb06c3b4db79ca179c3f7f7db890d50d GIT binary patch literal 2952 zcmYjTc{tQtA0M)ggxf@A$r5IUV#dC&^IFH!&yvA}Y*}M$<(hE0ma$Z}nL)OUMx~5F zN|dcE*F+?g8YNlACB%fh;IeMa#y$gyX_xJZ#R#sRn z*5>Bs_V)Jr`ufh!&c?tYHFI8n23yw%+1ZE)9It5qqViQGBPsl z?d<>n7#J9U!C-rP`+QMBE7lqNbJ1u@H$s~GK(td%W4i`*ejB0AxO8mgNmy;l+eAb`Okm;14$wrd7VB(Ea6 z2nM}$au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yyi*y^ZK)yktC?*_bm@%AIyPukpfydp|n3#BPjK?#XnK^SGQ9b4F- zB5P~nXDe#;)A6<6|I=k$KEjicETFy7{GezaS2MP;Z-RsZBY9Kv9re{GJE^aWaZ z$8n-;$uDlqIvkw)y5cmnM-;enHxjJN8-Uu%V=@Rzu-m83L?t1pw|mwQ2rmVn6AC5 zQNJz^!u;KHMPQ?a3p>nmi%53^nRo^02W}oiVIzS6xMN-0PE!RiTL*wvIjaqsq@>DsrkF!TZkrD!3TC3fsJjB4+J)p@=LCqCBSL?2M8Sum^Z~w z_wT3>Z{_fC_#yy2kb=*ikoJ)?pP2BL!pAhXwh@!$m*n3$z7Wqdc}xaRxv?^MT0%@l z@}$MEUPjA}I$c-l?`wJQWbvgOzfkLrksh&9-c{85$#ukJ;|^WlkG)_Q&1lWKs@uOo z@e&(k#C3guj+Rlpf+lZozw1>o7^Gk{9)4d)M7Zz)doKXI)XPh5l%u zWTBJ0Mo)B&A<3EFu*lcV8~Y%_0p)Ms8C5~&Wj=41+5cE>xi6wld^z?p7V%gYbC2r( z_VDW@&36B?CMTJC;5fdb@0W6s1K`3xE~IcRcHR4d&z7m}oqp5d zoZ;Ghs*u#deMqzX_hXH($D0z)$!++`k&RU?fsFJ@ukCxIDVEFUCDw-+0n}jQXM>Vg zll5oUj-76p4R!+>GOv{m?ujsjj zA%qn3POJ91bTS~Q7!x(Vcr)J`(Em75+W8gfH_mXd9A>m6aL#YTz2(UJb9G;!+g5w| z=b~i4mI<$X4lnDBSj5vL#bVF93v8ZBL%w(S(X42&pcog6?`}+kGpNi{J_0-tdF!Gh zHu5cjXJ*(7t;h02mk_nyM(&Q;&AR6IUKWy@oo>B}sNdyv{BTpLX9}%oVE;mJ&70q literal 0 HcmV?d00001 diff --git a/Trolleybus/Trolleybus/Resources/Left.png b/Trolleybus/Trolleybus/Resources/Left.png new file mode 100644 index 0000000000000000000000000000000000000000..98073a9d6999a879840fd22b66ca940fc6a9816e GIT binary patch literal 2874 zcmXX|c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G$-NW&@`yy?t5G<&hfFz6dM`6nr_aGzqNFue?4RDdXS7Y_RtH+^Hfy!*EAr#U`$a5o!&xsT3> z9U88_)tKK`hK{Qr_IOV0uy7~(+0tTgSL;;2RS51j)wJ#5T5((}j%&qptynIcwvM~z zkvv-G#8y?65eg3y3=#|y3=#|yj8ooP9*aAo6%Ao#r^F7VW?sJGeWY_@2XaPq%X%)( zi5zHxdxv4g;!($`B2?qW^hVsIykULGm9+uXzm!QGl(sn%k9e%$@k4;wOSCstv= z5eb8k^1Osm6d9a6PvLOS4`E8-?DJrdii2?PBD}G!*oIStTFq=d|2a2pOO3U<^I(u@ z-p)G!_leyVua($dpAr3t+K%lr?gQ;Z#NhsX)~%)BZuAHfF}U-j8r>oTcW%e>h`^nh z2S;gL64#33TJc;fo@>Q&;WT#|eTVz*-`jSqLb*Zm6%35?>MI!h5tNQFDmKBj$7qyiOCyq-vlm;h` zeVX~<)u>^G#|)#GX43BbMUHnxUq#dEEA zt`*Oz-hA6MM}cJeT)+ONK#0ql*@i_>@U-NDbSP+rIYI>J8f$oZ9x4 zL@RY~W&nfKLG1O;h-RjrrsLSF;pSuPXkd^o9vek}0cMH`Q9z9h9{>OV07*qoM6N<$ Eg7%R1=l}o! literal 0 HcmV?d00001 diff --git a/Trolleybus/Trolleybus/Resources/Up.png b/Trolleybus/Trolleybus/Resources/Up.png new file mode 100644 index 0000000000000000000000000000000000000000..a0a7a7813640e13e4a46e2249e638ec3b0c2218d GIT binary patch literal 3018 zcmZ8jc{J2(AGcME6lOw^ZDug8UEP#*7%?*#e%beg7&~`VvXqb|W3r6pk{dH7b0vFW zQrWXilCfSgib7<`Qp7uM=e+MZ?;qdibDnda^E{vDyL`Ui6l*IpA;Szr4J> zw6wIbv9Z0qy}rJ_v$ON<+qc-*SZizRPoF+%Yirlm){cyfgoK2or>ED|)eQ~~QmIsF zX=w(7ap}?}U0q!e2xMVl(bLnzX0z4R)gchbxpU_N0s^wKvfSLMBEaR8guN_>h5m)@%G8M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a/Trolleybus/Trolleybus/Trolleybus.csproj +++ b/Trolleybus/Trolleybus/Trolleybus.csproj @@ -8,4 +8,19 @@ enable + + + True + True + Resources.resx + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + \ No newline at end of file