diff --git a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Direction.cs b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Direction.cs new file mode 100644 index 0000000..2db4526 --- /dev/null +++ b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Direction.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Warmly_Lokomotive_Base +{ + internal enum Direction + { + Up = 1, + Down = 2, + Left = 3, + Right = 4, + } +} diff --git a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/DrawingLokomotive.cs b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/DrawingLokomotive.cs new file mode 100644 index 0000000..2b1a5a7 --- /dev/null +++ b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/DrawingLokomotive.cs @@ -0,0 +1,137 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Warmly_Lokomotive_Base +{ + internal class DrawingLokomotive + { + /// Класс-сущность + public EntityLokomotive Locomotive{ get; private set; } + /// Левая координата отрисовки локомотива + private float _startPosX; + /// Верхняя координата отрисовки локомотива + private float _startPosY; + /// Ширина окна отрисовки + private int? _pictureWidth = null; + /// Высота окна отрисовки + private int? _pictureHeight = null; + /// Ширина отрисовки локомотива + private readonly int _locomotiveWidth = 110; + /// Высота отрисовки локомотива + private readonly int _locomotiveHeight = 50; + + /// Инициализация свойств + public void Init(int speed, float weight, Color bodyColor) + { + Locomotive = new EntityLokomotive(); + Locomotive.Init(speed, weight, bodyColor); + } + /// Установка позиции локомотива + public void SetPosition(int x, int y, int width, int height) + { + if (x < 0 || x + _locomotiveWidth >= width) + { + return; + } + if (y < 0 || y + _locomotiveHeight >= height) + { + return; + } + _startPosX = x; + _startPosY = y; + _pictureWidth = width; + _pictureHeight = height; + } + + public void MoveTransport(Direction direction) + { + if (!_pictureWidth.HasValue || !_pictureHeight.HasValue) + { + return; + } + switch (direction) + { + // вправо + case Direction.Right: + if (_startPosX + _locomotiveWidth + Locomotive.Step < _pictureWidth) + { + _startPosX += Locomotive.Step; + } + else _startPosX = (int)_pictureWidth - _locomotiveWidth; + break; + //влево + case Direction.Left: + if (_startPosX - Locomotive.Step >= 0) + { + _startPosX -= Locomotive.Step; + } + else _startPosX = 0; + break; + //вверх + case Direction.Up: + if (_startPosY - Locomotive.Step >= 0) + { + _startPosY -= Locomotive.Step; + } + else _startPosY = 0; + break; + //вниз + case Direction.Down: + if (_startPosY + _locomotiveHeight + Locomotive.Step < _pictureHeight) + { + _startPosY += Locomotive.Step; + } + else _startPosY = (int)_pictureHeight - _locomotiveHeight; + break; + } + } + + public void DrawTransport(Graphics g) + { + if (_startPosX < 0 || _startPosY < 0 + || !_pictureHeight.HasValue || !_pictureWidth.HasValue) + { + return; + } + Pen pen = new(Color.Black); + //тело + g.DrawRectangle(pen, _startPosX, _startPosY, _locomotiveWidth - 10, _locomotiveHeight - 10); + //окна + g.FillRectangle(new SolidBrush(Locomotive?.BodyColor ?? Color.Black), _startPosX + 10, _startPosY + 10, 10, 10); + g.FillRectangle(new SolidBrush(Locomotive?.BodyColor ?? Color.Black), _startPosX + 30, _startPosY + 10, 10, 10); + g.FillRectangle(new SolidBrush(Locomotive?.BodyColor ?? Color.Black), _startPosX + 80, _startPosY + 10, 10, 10); + //дверь + g.DrawRectangle(pen, _startPosX + 50, _startPosY + 10, 10, 20); + //колеса + g.DrawEllipse(pen, _startPosX, _startPosY + 40, 10, 10); + g.DrawEllipse(pen, _startPosX + 20, _startPosY + 40, 10, 10); + g.DrawEllipse(pen, _startPosX + 70, _startPosY + 40, 10, 10); + g.DrawEllipse(pen, _startPosX + 90, _startPosY + 40, 10, 10); + //черный прямоугольник + g.FillRectangle(new SolidBrush(Locomotive?.BodyColor ?? Color.Black), _startPosX + 100, _startPosY + 10, 10, 30); + } + + public void ChangeBorders(int width, int height) + { + _pictureWidth = width; + _pictureHeight = height; + if (_pictureWidth <= _locomotiveWidth || _pictureHeight <= _locomotiveHeight) + { + _pictureWidth = null; + _pictureHeight = null; + return; + } + if (_startPosX + _locomotiveWidth > _pictureWidth) + { + _startPosX = _pictureWidth.Value - _locomotiveWidth; + } + if (_startPosY + _locomotiveHeight > _pictureHeight) + { + _startPosY = _pictureHeight.Value - _locomotiveHeight; + } + } + } +} diff --git a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/EntityLokomotive.cs b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/EntityLokomotive.cs new file mode 100644 index 0000000..9dbf8de --- /dev/null +++ b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/EntityLokomotive.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Warmly_Lokomotive_Base +{ + internal class EntityLokomotive + { + /// Скорость + public int Speed { get; private set; } + /// Вес + public float Weight { get; private set; } + /// Цвет + public Color BodyColor { get; private set; } + /// Шаг перемещения локомотива + public float Step => Speed * 100 / Weight; + + public void Init(int speed, float weight, Color bodyColor) + { + Random rnd = new(); + Speed = speed <= 0 ? rnd.Next(50, 150) : speed; + Weight = weight <= 0 ? rnd.Next(40, 70) : weight; + BodyColor = bodyColor; + } + } +} diff --git a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Form1.Designer.cs b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Form1.Designer.cs index 03aafc0..bc495d5 100644 --- a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Form1.Designer.cs +++ b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Form1.Designer.cs @@ -3,12 +3,12 @@ partial class Form1 { /// - /// Required designer variable. + /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// - /// Clean up any resources being used. + /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) @@ -23,17 +23,151 @@ #region Windows Form Designer generated code /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. + /// 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.statusStrip1 = new System.Windows.Forms.StatusStrip(); + this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); + this.toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel(); + this.toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.button1 = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.button3 = new System.Windows.Forms.Button(); + this.button4 = new System.Windows.Forms.Button(); + this.button5 = new System.Windows.Forms.Button(); + this.statusStrip1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // statusStrip1 + // + this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); + this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripStatusLabel1, + this.toolStripStatusLabel2, + this.toolStripStatusLabel3}); + this.statusStrip1.Location = new System.Drawing.Point(0, 424); + this.statusStrip1.Name = "statusStrip1"; + this.statusStrip1.Size = new System.Drawing.Size(800, 26); + this.statusStrip1.TabIndex = 0; + this.statusStrip1.Text = "statusStrip1"; + this.statusStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.statusStrip1_ItemClicked); + // + // toolStripStatusLabel1 + // + this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; + this.toolStripStatusLabel1.Size = new System.Drawing.Size(151, 20); + this.toolStripStatusLabel1.Text = "toolStripStatusLabel1"; + // + // toolStripStatusLabel2 + // + this.toolStripStatusLabel2.Name = "toolStripStatusLabel2"; + this.toolStripStatusLabel2.Size = new System.Drawing.Size(151, 20); + this.toolStripStatusLabel2.Text = "toolStripStatusLabel2"; + // + // toolStripStatusLabel3 + // + this.toolStripStatusLabel3.Name = "toolStripStatusLabel3"; + this.toolStripStatusLabel3.Size = new System.Drawing.Size(151, 20); + this.toolStripStatusLabel3.Text = "toolStripStatusLabel3"; + // + // pictureBox1 + // + this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.pictureBox1.Location = new System.Drawing.Point(0, 0); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(800, 424); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.pictureBox1.TabIndex = 1; + this.pictureBox1.TabStop = false; + this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(12, 391); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(139, 30); + this.button1.TabIndex = 2; + this.button1.Text = "button1"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // button2 + // + this.button2.Location = new System.Drawing.Point(758, 391); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(30, 30); + this.button2.TabIndex = 3; + this.button2.Text = "button2"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // button3 + // + this.button3.Location = new System.Drawing.Point(676, 391); + this.button3.Name = "button3"; + this.button3.Size = new System.Drawing.Size(30, 30); + this.button3.TabIndex = 4; + this.button3.Text = "button3"; + this.button3.UseVisualStyleBackColor = true; + this.button3.Click += new System.EventHandler(this.button3_Click); + // + // button4 + // + this.button4.Location = new System.Drawing.Point(712, 391); + this.button4.Name = "button4"; + this.button4.Size = new System.Drawing.Size(30, 30); + this.button4.TabIndex = 5; + this.button4.Text = "button4"; + this.button4.UseVisualStyleBackColor = true; + this.button4.Click += new System.EventHandler(this.button4_Click); + // + // button5 + // + this.button5.Location = new System.Drawing.Point(712, 355); + this.button5.Name = "button5"; + this.button5.Size = new System.Drawing.Size(30, 30); + this.button5.TabIndex = 6; + this.button5.Text = "button5"; + this.button5.UseVisualStyleBackColor = true; + this.button5.Click += new System.EventHandler(this.button5_Click); + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.button5); + this.Controls.Add(this.button4); + this.Controls.Add(this.button3); + this.Controls.Add(this.button2); + this.Controls.Add(this.button1); + this.Controls.Add(this.pictureBox1); + this.Controls.Add(this.statusStrip1); + this.Name = "Form1"; this.Text = "Form1"; + this.statusStrip1.ResumeLayout(false); + this.statusStrip1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + } #endregion + + private StatusStrip statusStrip1; + private ToolStripStatusLabel toolStripStatusLabel1; + private ToolStripStatusLabel toolStripStatusLabel2; + private ToolStripStatusLabel toolStripStatusLabel3; + private PictureBox pictureBox1; + private Button button1; + private Button button2; + private Button button3; + private Button button4; + private Button button5; } } \ No newline at end of file diff --git a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Form1.cs b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Form1.cs index f447ed3..d1fc691 100644 --- a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Form1.cs +++ b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Form1.cs @@ -1,3 +1,13 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + namespace Warmly_Lokomotive_Base { public partial class Form1 : Form @@ -6,5 +16,59 @@ namespace Warmly_Lokomotive_Base { InitializeComponent(); } + + private DrawingLokomotive _locomotive; + private void Draw() + { + Bitmap bmp = new(pictureBox1.Width, pictureBox1.Height); + Graphics gr = Graphics.FromImage(bmp); + _locomotive?.DrawTransport(gr); + pictureBox1.Image = bmp; + } + + private void button1_Click(object sender, EventArgs e) + { + Random rnd = new(); + _locomotive = new DrawingLokomotive(); + _locomotive.Init(rnd.Next(100, 300), rnd.Next(1000, 2000), Color.FromArgb(rnd.Next(0, 256), rnd.Next(0, 256), rnd.Next(0, 256))); + _locomotive.SetPosition(rnd.Next(10, 100), rnd.Next(10, 100), pictureBox1.Width, pictureBox1.Height); + toolStripStatusLabel1.Text = $"Speed: {_locomotive.Locomotive.Speed}"; + toolStripStatusLabel2.Text = $"Weight: {_locomotive.Locomotive.Weight}"; + toolStripStatusLabel3.Text = $"Color: {_locomotive.Locomotive.BodyColor.Name}"; + Draw(); + } + + private void pictureBox1_Click(object sender, EventArgs e) + { + + + } + private void button2_Click(object sender, EventArgs e) + { + _locomotive?.MoveTransport(Direction.Right); + } + private void button3_Click(object sender, EventArgs e) + { + _locomotive?.MoveTransport(Direction.Left); + } + + private void button4_Click(object sender, EventArgs e) + { + _locomotive?.MoveTransport(Direction.Down); + } + private void button5_Click(object sender, EventArgs e) + { + _locomotive?.MoveTransport(Direction.Up); + } + + private void statusStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e) + { + + } + private void pictureBox1_Resize(object sender, EventArgs e) + { + _locomotive?.ChangeBorders(pictureBox1.Width, pictureBox1.Height); + Draw(); + } } -} \ No newline at end of file +} diff --git a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Form1.resx b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Form1.resx index 1af7de1..5cb320f 100644 --- a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Form1.resx +++ b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Form1.resx @@ -1,64 +1,4 @@ - - - + @@ -117,4 +57,7 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 17, 17 + \ No newline at end of file diff --git a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/FormLokomotive.resx b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/FormLokomotive.resx new file mode 100644 index 0000000..5cb320f --- /dev/null +++ b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/FormLokomotive.resx @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + 17, 17 + + \ No newline at end of file diff --git a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Properties/Resources.Designer.cs b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Properties/Resources.Designer.cs new file mode 100644 index 0000000..0979f79 --- /dev/null +++ b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace Warmly_Lokomotive_Base.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("Warmly_Lokomotive_Base.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/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Properties/Resources.resx b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Properties/Resources.resx new file mode 100644 index 0000000..66382e4 --- /dev/null +++ b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/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\up.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\left.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\down.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Resources/down.png b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Resources/down.png new file mode 100644 index 0000000..4f7d883 Binary files /dev/null and b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Resources/down.png differ diff --git a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Resources/left.png b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Resources/left.png new file mode 100644 index 0000000..d2c3c91 Binary files /dev/null and b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Resources/left.png differ diff --git a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Resources/right.png b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Resources/right.png new file mode 100644 index 0000000..0fd31f1 Binary files /dev/null and b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Resources/right.png differ diff --git a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Resources/up.png b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Resources/up.png new file mode 100644 index 0000000..0b5cdf0 Binary files /dev/null and b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Resources/up.png differ diff --git a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base.csproj b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base.csproj index b57c89e..13ee123 100644 --- a/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base.csproj +++ b/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base/Warmly_Lokomotive_Base.csproj @@ -8,4 +8,19 @@ enable + + + True + True + Resources.resx + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + \ No newline at end of file