diff --git a/AirFighter/AirFighter.csproj b/AirFighter/AirFighter.csproj index b57c89e..13ee123 100644 --- a/AirFighter/AirFighter.csproj +++ b/AirFighter/AirFighter.csproj @@ -8,4 +8,19 @@ enable + + + True + True + Resources.resx + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + \ No newline at end of file diff --git a/AirFighter/AirFighterForm.Designer.cs b/AirFighter/AirFighterForm.Designer.cs new file mode 100644 index 0000000..0c48d17 --- /dev/null +++ b/AirFighter/AirFighterForm.Designer.cs @@ -0,0 +1,179 @@ +namespace AirFighter +{ + partial class AirFighterForm + { + /// + /// 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.pictureBoxAirFighter = new System.Windows.Forms.PictureBox(); + this.statusStripAircraft = new System.Windows.Forms.StatusStrip(); + this.toolStripStatusSpeed = new System.Windows.Forms.ToolStripStatusLabel(); + this.toolStripStatusWeight = new System.Windows.Forms.ToolStripStatusLabel(); + this.toolStripStatusBodyColor = new System.Windows.Forms.ToolStripStatusLabel(); + this.buttonCreate = new System.Windows.Forms.Button(); + this.buttonUp = new System.Windows.Forms.Button(); + this.buttonLeft = new System.Windows.Forms.Button(); + this.buttonRight = new System.Windows.Forms.Button(); + this.buttonDown = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxAirFighter)).BeginInit(); + this.statusStripAircraft.SuspendLayout(); + this.SuspendLayout(); + // + // pictureBoxAirFighter + // + this.pictureBoxAirFighter.Dock = System.Windows.Forms.DockStyle.Fill; + this.pictureBoxAirFighter.Location = new System.Drawing.Point(0, 0); + this.pictureBoxAirFighter.Name = "pictureBoxAirFighter"; + this.pictureBoxAirFighter.Size = new System.Drawing.Size(800, 428); + this.pictureBoxAirFighter.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.pictureBoxAirFighter.TabIndex = 0; + this.pictureBoxAirFighter.TabStop = false; + this.pictureBoxAirFighter.Resize += new System.EventHandler(this.pictureBoxAirFighter_Resize); + // + // statusStripAircraft + // + this.statusStripAircraft.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripStatusSpeed, + this.toolStripStatusWeight, + this.toolStripStatusBodyColor}); + this.statusStripAircraft.Location = new System.Drawing.Point(0, 428); + this.statusStripAircraft.Name = "statusStripAircraft"; + this.statusStripAircraft.Size = new System.Drawing.Size(800, 22); + this.statusStripAircraft.TabIndex = 1; + // + // toolStripStatusSpeed + // + this.toolStripStatusSpeed.Name = "toolStripStatusSpeed"; + this.toolStripStatusSpeed.Size = new System.Drawing.Size(42, 17); + this.toolStripStatusSpeed.Text = "Speed:"; + // + // toolStripStatusWeight + // + this.toolStripStatusWeight.Name = "toolStripStatusWeight"; + this.toolStripStatusWeight.Size = new System.Drawing.Size(48, 17); + this.toolStripStatusWeight.Text = "Weight:"; + // + // toolStripStatusBodyColor + // + this.toolStripStatusBodyColor.Name = "toolStripStatusBodyColor"; + this.toolStripStatusBodyColor.Size = new System.Drawing.Size(66, 17); + this.toolStripStatusBodyColor.Text = "BodyColor:"; + // + // buttonCreate + // + this.buttonCreate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.buttonCreate.Location = new System.Drawing.Point(12, 389); + this.buttonCreate.Name = "buttonCreate"; + this.buttonCreate.Size = new System.Drawing.Size(75, 23); + this.buttonCreate.TabIndex = 2; + this.buttonCreate.Text = "Create"; + this.buttonCreate.UseVisualStyleBackColor = true; + this.buttonCreate.Click += new System.EventHandler(this.buttonCreate_Click); + // + // buttonUp + // + this.buttonUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonUp.BackgroundImage = global::AirFighter.Properties.Resources.ArrowUp; + this.buttonUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.buttonUp.Location = new System.Drawing.Point(702, 346); + this.buttonUp.Name = "buttonUp"; + this.buttonUp.Size = new System.Drawing.Size(30, 30); + this.buttonUp.TabIndex = 3; + this.buttonUp.UseVisualStyleBackColor = true; + this.buttonUp.Click += new System.EventHandler(this.buttonMove_Click); + // + // buttonLeft + // + this.buttonLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonLeft.BackgroundImage = global::AirFighter.Properties.Resources.ArrowLeft; + this.buttonLeft.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.buttonLeft.Location = new System.Drawing.Point(666, 382); + this.buttonLeft.Name = "buttonLeft"; + this.buttonLeft.Size = new System.Drawing.Size(30, 30); + this.buttonLeft.TabIndex = 4; + this.buttonLeft.UseVisualStyleBackColor = true; + this.buttonLeft.Click += new System.EventHandler(this.buttonMove_Click); + // + // buttonRight + // + this.buttonRight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonRight.BackgroundImage = global::AirFighter.Properties.Resources.ArrowRight; + this.buttonRight.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.buttonRight.Location = new System.Drawing.Point(738, 382); + this.buttonRight.Name = "buttonRight"; + this.buttonRight.Size = new System.Drawing.Size(30, 30); + this.buttonRight.TabIndex = 5; + this.buttonRight.UseVisualStyleBackColor = true; + this.buttonRight.Click += new System.EventHandler(this.buttonMove_Click); + // + // buttonDown + // + this.buttonDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.buttonDown.BackgroundImage = global::AirFighter.Properties.Resources.ArrowDown; + this.buttonDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.buttonDown.Location = new System.Drawing.Point(702, 382); + this.buttonDown.Name = "buttonDown"; + this.buttonDown.Size = new System.Drawing.Size(30, 30); + this.buttonDown.TabIndex = 6; + this.buttonDown.UseVisualStyleBackColor = true; + this.buttonDown.Click += new System.EventHandler(this.buttonMove_Click); + // + // AirFighterForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.buttonDown); + this.Controls.Add(this.buttonRight); + this.Controls.Add(this.buttonLeft); + this.Controls.Add(this.buttonUp); + this.Controls.Add(this.buttonCreate); + this.Controls.Add(this.pictureBoxAirFighter); + this.Controls.Add(this.statusStripAircraft); + this.Name = "AirFighterForm"; + this.Text = "AirFighter"; + ((System.ComponentModel.ISupportInitialize)(this.pictureBoxAirFighter)).EndInit(); + this.statusStripAircraft.ResumeLayout(false); + this.statusStripAircraft.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private PictureBox pictureBoxAirFighter; + private StatusStrip statusStripAircraft; + private ToolStripStatusLabel toolStripStatusSpeed; + private ToolStripStatusLabel toolStripStatusWeight; + private ToolStripStatusLabel toolStripStatusBodyColor; + private Button buttonCreate; + private Button buttonUp; + private Button buttonLeft; + private Button buttonRight; + private Button buttonDown; + } +} \ No newline at end of file diff --git a/AirFighter/AirFighterForm.cs b/AirFighter/AirFighterForm.cs new file mode 100644 index 0000000..960f866 --- /dev/null +++ b/AirFighter/AirFighterForm.cs @@ -0,0 +1,69 @@ +namespace AirFighter +{ + public partial class AirFighterForm : Form + { + private DrawingAircraft _aircraft; + + public AirFighterForm() + { + InitializeComponent(); + } + + private void Draw() + { + Bitmap bmp = new(pictureBoxAirFighter.Width, pictureBoxAirFighter.Height); + Graphics gr = Graphics.FromImage(bmp); + _aircraft?.DrawTransport(gr); + pictureBoxAirFighter.Image = bmp; + } + + + + private void buttonCreate_Click(object sender, EventArgs e) + { + Random rnd = new Random(); + _aircraft = new DrawingAircraft(); + _aircraft.Init(rnd.Next(100, 300), rnd.Next(1000, 2000), Color.FromArgb(rnd.Next(0, 256), rnd.Next(0, 256), rnd.Next(0, 256))); + _aircraft.SetPosition(rnd.Next(10,100),rnd.Next(10,100),pictureBoxAirFighter.Width,pictureBoxAirFighter.Height); + toolStripStatusSpeed.Text = $"Speed: {_aircraft.Plane.Speed}"; + toolStripStatusWeight.Text = $"Weight: {_aircraft.Plane.Weight}"; + toolStripStatusBodyColor.Text = $"BodyColor: {_aircraft.Plane.BodyColor.Name}"; + Draw(); + } + + private void buttonMove_Click(object sender, EventArgs e) + { + string name = ((Button)sender)?.Name ?? string.Empty; + switch (name) + { + case "buttonUp": + { + _aircraft?.MoveTransport(Direction.Up); + } + break; + case "buttonDown": + { + _aircraft?.MoveTransport(Direction.Down); + } + break; + case "buttonLeft": + { + _aircraft?.MoveTransport(Direction.Left); + } + break; + case "buttonRight": + { + _aircraft?.MoveTransport(Direction.Right); + } + break; + } + Draw(); + } + + private void pictureBoxAirFighter_Resize(object sender, EventArgs e) + { + _aircraft?.ChangeBorders(pictureBoxAirFighter.Width, pictureBoxAirFighter.Height); + Draw(); + } + } +} \ No newline at end of file diff --git a/AirFighter/AirFighterForm.resx b/AirFighter/AirFighterForm.resx new file mode 100644 index 0000000..12a7f01 --- /dev/null +++ b/AirFighter/AirFighterForm.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/AirFighter/Direction.cs b/AirFighter/Direction.cs new file mode 100644 index 0000000..79d6bab --- /dev/null +++ b/AirFighter/Direction.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AirFighter +{ + internal enum Direction + { + Up =1, + Down = 2, + Left = 3, + Right = 4 + } +} diff --git a/AirFighter/DrawingAircraft.cs b/AirFighter/DrawingAircraft.cs new file mode 100644 index 0000000..044b635 --- /dev/null +++ b/AirFighter/DrawingAircraft.cs @@ -0,0 +1,174 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.ComponentModel.DataAnnotations; +using System.Drawing.Drawing2D; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AirFighter +{ + internal class DrawingAircraft + { + public EntityAircraft Plane { get; private set; } + + private float _startPosX; + + private float _startPosY; + + private int? _pictureWidth = null; + private int? _pictureHeight = null; + + protected readonly int _aircraftWidth = 124; + protected readonly int _aircraftHeight = 70; + + public void Init(int speed, float weight, Color bodyColor) + { + Plane = new EntityAircraft(); + Plane.Init(speed, weight, bodyColor); + } + + public void SetPosition(int x, int y, int width, int height) + { + + // Check if coords inside the picture + _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 + _aircraftWidth + Plane.Step < _pictureWidth) + { + _startPosX += Plane.Step; + } + } + break; + case Direction.Left: + { + if (_startPosX - Plane.Step > 0) + { + _startPosX -= Plane.Step; + } + } + break; + case Direction.Up: + { + if (_startPosY - Plane.Step > 0) + { + _startPosY -= Plane.Step; + } + } + break; + case Direction.Down: + { + if (_startPosY + _aircraftHeight + Plane.Step < _pictureHeight) + { + _startPosY += Plane.Step; + } + } + break; + } + } + + public void DrawTransport(Graphics g) + { + if (_startPosX < 0 || _startPosY < 0 || !_pictureHeight.HasValue || !_pictureWidth.HasValue) + { + return; + } + + + + //Aircraft Body + Pen pen = new(Color.Black); + Brush brWhite = new SolidBrush(Plane.BodyColor); + + g.FillEllipse(brWhite, _startPosX + 3, _startPosY + 37, 120, 23); + g.DrawEllipse(pen,_startPosX + 3, _startPosY + 37, 120, 23); + + + + GraphicsPath pathBody = new GraphicsPath(); + + Point point1B = new Point((int)(_startPosX + 110), (int)(_startPosY + 36)); + Point point2B = new Point(point1B.X + 14, point1B.Y + 12); + Point point3B = new Point(point1B.X, point2B.Y + 12); + Point point4B = new Point(point1B.X, point1B.Y); + Point[] pointsBody = new Point[] { point1B, point2B, point3B, point4B }; + + pathBody.AddLines(pointsBody); + g.DrawPath(pen, pathBody); + g.FillPath(brWhite, pathBody); + + g.DrawLine(pen, point1B.X, (point3B.Y + point1B.Y) / 2, point2B.X + 6, point2B.Y); + + + GraphicsPath pathWings = new GraphicsPath(); + //Wings + Point point1W = new Point((int)(_startPosX + 10), (int)(_startPosY)+ 4); + Point point2W = new Point(point1W.X + 35, point1W.Y + 40); + Point point3W = new Point(point1W.X,point1W.Y + 40); + Point point4W = new Point(point1W.X, point1W.Y); + Point[] pointsWings = new Point[] {point1W , point2W , point3W , point4W}; + pathWings.AddLines(pointsWings); + g.DrawPath(pen,pathWings); + g.FillPath(brWhite, pathWings); + + Brush brBlack = new SolidBrush(Color.Black); + g.FillEllipse(brBlack,point1W.X,point3W.Y,25,10); + g.FillEllipse(brBlack, (int)(_startPosX + 40), (int)(_startPosY + 45),45,8); + + //Wheels + Point point1WH = new Point((int)(_startPosX + 40), (int)(_startPosY + 60)); + Point point2WH = new Point(point1WH.X, point1WH.Y + 5); + g.DrawLine(pen, point1WH, point2WH); + Point point3WH = new Point((int)(_startPosX + 95),point1WH.Y - 2); + Point point4WH = new Point(point3WH.X,point2WH.Y); + g.DrawLine(pen, point3WH, point4WH); + g.FillEllipse(brBlack, point1WH.X - 5, point2WH.Y,5,5); + g.FillEllipse(brBlack, point1WH.X, point2WH.Y, 5, 5); + g.FillEllipse(brBlack, point3WH.X - 2, point4WH.Y , 5, 5); + + + + + + + } + + public void ChangeBorders(int width, int height) + { + _pictureWidth = width; + _pictureHeight = height; + + if (_pictureWidth <= _aircraftWidth || _pictureHeight <= _aircraftHeight) + { + _pictureHeight = null; + _pictureWidth = null; + return; + } + if (_startPosX + _aircraftWidth > _pictureWidth) + { + _startPosX = _pictureWidth.Value - _aircraftWidth; + } + if (_startPosY + _aircraftHeight > _pictureHeight) + { + _startPosY = _pictureHeight.Value - _aircraftHeight; + } + + } + } +} diff --git a/AirFighter/EntityAircraft.cs b/AirFighter/EntityAircraft.cs new file mode 100644 index 0000000..f37a30e --- /dev/null +++ b/AirFighter/EntityAircraft.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace AirFighter +{ + internal class EntityAircraft + { + public int Speed + { + get; + private set; + } + + public float Weight + { + get; + private set; + } + + public Color BodyColor + { + get; + private set; + } + + //=> оператор подобный return + public float Step => Speed * 100 / Weight; + + + public void Init(int speed, float weight, Color bodyColor) + { + Speed = speed; + Weight = weight; + BodyColor = bodyColor; + } + + } +} diff --git a/AirFighter/Form1.Designer.cs b/AirFighter/Form1.Designer.cs deleted file mode 100644 index 107e2e0..0000000 --- a/AirFighter/Form1.Designer.cs +++ /dev/null @@ -1,39 +0,0 @@ -namespace AirFighter -{ - 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/AirFighter/Form1.cs b/AirFighter/Form1.cs deleted file mode 100644 index dc93bbf..0000000 --- a/AirFighter/Form1.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace AirFighter -{ - public partial class Form1 : Form - { - public Form1() - { - InitializeComponent(); - } - } -} \ No newline at end of file diff --git a/AirFighter/Program.cs b/AirFighter/Program.cs index 20f1938..2eb2d18 100644 --- a/AirFighter/Program.cs +++ b/AirFighter/Program.cs @@ -11,7 +11,7 @@ namespace AirFighter // 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 AirFighterForm()); } } } \ No newline at end of file diff --git a/AirFighter/Properties/Resources.Designer.cs b/AirFighter/Properties/Resources.Designer.cs new file mode 100644 index 0000000..b535110 --- /dev/null +++ b/AirFighter/Properties/Resources.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace AirFighter.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("AirFighter.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 ArrowDown { + get { + object obj = ResourceManager.GetObject("ArrowDown", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArrowLeft { + get { + object obj = ResourceManager.GetObject("ArrowLeft", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArrowRight { + get { + object obj = ResourceManager.GetObject("ArrowRight", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Поиск локализованного ресурса типа System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap ArrowUp { + get { + object obj = ResourceManager.GetObject("ArrowUp", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/AirFighter/Form1.resx b/AirFighter/Properties/Resources.resx similarity index 83% rename from AirFighter/Form1.resx rename to AirFighter/Properties/Resources.resx index 1af7de1..1ee1a77 100644 --- a/AirFighter/Form1.resx +++ b/AirFighter/Properties/Resources.resx @@ -117,4 +117,17 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\Resources\ArrowDown.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ArrowLeft.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ArrowRight.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\ArrowUp.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/AirFighter/Resources/ArrowDown.png b/AirFighter/Resources/ArrowDown.png new file mode 100644 index 0000000..6bd9ec1 Binary files /dev/null and b/AirFighter/Resources/ArrowDown.png differ diff --git a/AirFighter/Resources/ArrowLeft.png b/AirFighter/Resources/ArrowLeft.png new file mode 100644 index 0000000..f4ed074 Binary files /dev/null and b/AirFighter/Resources/ArrowLeft.png differ diff --git a/AirFighter/Resources/ArrowRight.png b/AirFighter/Resources/ArrowRight.png new file mode 100644 index 0000000..407d6dc Binary files /dev/null and b/AirFighter/Resources/ArrowRight.png differ diff --git a/AirFighter/Resources/ArrowUp.png b/AirFighter/Resources/ArrowUp.png new file mode 100644 index 0000000..582df64 Binary files /dev/null and b/AirFighter/Resources/ArrowUp.png differ