create project
This commit is contained in:
parent
fc9fb491d2
commit
b4c5865353
25
AirBus.sln
Normal file
25
AirBus.sln
Normal file
@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.5.33530.505
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AirBus", "AirBus\AirBus.csproj", "{97F3FB83-880E-4D1D-B941-1FB2F9B5C747}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{97F3FB83-880E-4D1D-B941-1FB2F9B5C747}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{97F3FB83-880E-4D1D-B941-1FB2F9B5C747}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{97F3FB83-880E-4D1D-B941-1FB2F9B5C747}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{97F3FB83-880E-4D1D-B941-1FB2F9B5C747}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {68EF553D-50EC-43AA-B0A4-B69F4A00F3FD}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
26
AirBus/AirBus.csproj
Normal file
26
AirBus/AirBus.csproj
Normal file
@ -0,0 +1,26 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net6.0-windows</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Update="Properties\Resources.Designer.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Update="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
16
AirBus/Direction.cs
Normal file
16
AirBus/Direction.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AirBus
|
||||
{
|
||||
public enum Direction
|
||||
{
|
||||
Up = 1,
|
||||
Down = 2,
|
||||
Left = 3,
|
||||
Right = 4
|
||||
}
|
||||
}
|
156
AirBus/DrawningAirBus.cs
Normal file
156
AirBus/DrawningAirBus.cs
Normal file
@ -0,0 +1,156 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AirBus
|
||||
{
|
||||
public class DrawningAirBus
|
||||
{
|
||||
public EntityAirBus? EntityAirBus { get; private set; }
|
||||
|
||||
// ширина и высота картинки
|
||||
private int pictureWidht;
|
||||
private int pictureHeight;
|
||||
|
||||
// стартовые точки
|
||||
private int startPosX;
|
||||
private int startPosY;
|
||||
|
||||
private readonly int airbusWidth = 100;
|
||||
private readonly int airbusHeight = 37;
|
||||
|
||||
public bool Init(int speed, double weight, Color bodyColor, Color additionalColor, int width, int height)
|
||||
{
|
||||
pictureWidht = width;
|
||||
pictureHeight = height;
|
||||
|
||||
EntityAirBus = new EntityAirBus();
|
||||
EntityAirBus.Init(speed, weight, bodyColor, additionalColor);
|
||||
return true;
|
||||
}
|
||||
|
||||
//установка позиции
|
||||
public void SetPosition(int x, int y)
|
||||
{
|
||||
if (x >= 0 && x + airbusWidth <= pictureWidht && y >= 0 && y + airbusHeight <= pictureHeight)
|
||||
{
|
||||
startPosX = x;
|
||||
startPosY = y;
|
||||
}
|
||||
}
|
||||
|
||||
// изменение направления движения
|
||||
public void MoveTransport(Direction direction)
|
||||
{
|
||||
if (EntityAirBus == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
switch (direction)
|
||||
{
|
||||
case Direction.Left:
|
||||
if (startPosX - EntityAirBus.Step > 0)
|
||||
{
|
||||
startPosX -= (int)EntityAirBus.Step;
|
||||
}
|
||||
break;
|
||||
case Direction.Right:
|
||||
if (startPosX + EntityAirBus.Step <= pictureWidht)
|
||||
{
|
||||
startPosX += (int)EntityAirBus.Step;
|
||||
}
|
||||
break;
|
||||
case Direction.Up:
|
||||
if (startPosY - EntityAirBus.Step > 0)
|
||||
{
|
||||
startPosY -= (int)EntityAirBus.Step;
|
||||
}
|
||||
break;
|
||||
case Direction.Down:
|
||||
if (startPosY + EntityAirBus.Step <= pictureHeight)
|
||||
{
|
||||
startPosY += (int)EntityAirBus.Step;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// РИСОВАНИЕ САМОЛЁТА
|
||||
public void DrawTransport(Graphics g)
|
||||
{
|
||||
if ( startPosX < 0 || startPosY < 0 || EntityAirBus == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
Pen pen = new(Color.Black);
|
||||
Brush additionalBrush = new SolidBrush(EntityAirBus.AdditionalColor);
|
||||
Brush additionalBrush2 = new SolidBrush(Color.Black);
|
||||
|
||||
// нос
|
||||
Point point1 = new Point(startPosX + 74, startPosY + 15);
|
||||
Point point2 = new Point(startPosX + 88, startPosY + 22);
|
||||
Point point3 = new Point(startPosX + 74, startPosY + 27);
|
||||
Point[] PointsNose = { point1, point2, point3 };
|
||||
|
||||
g.DrawPolygon(pen, PointsNose);
|
||||
g.FillPolygon(additionalBrush, PointsNose);
|
||||
|
||||
// хвост
|
||||
Point point4 = new Point(startPosX + 4, startPosY + 17);
|
||||
Point point5 = new Point(startPosX + 3, startPosY);
|
||||
Point point6 = new Point(startPosX + 21, startPosY + 17);
|
||||
|
||||
Point[] PointsTail = { point4, point5, point6 };
|
||||
g.DrawPolygon(pen, PointsTail);
|
||||
g.FillPolygon(additionalBrush, PointsTail);
|
||||
|
||||
// тело
|
||||
g.DrawRectangle(pen, startPosX + 2, startPosY + 14, 72, 14);
|
||||
g.FillRectangle(additionalBrush, startPosX + 2, startPosY + 14, 72, 14);
|
||||
|
||||
//шасси
|
||||
g.DrawEllipse(pen, startPosX + 21, startPosY + 30, 3, 3);
|
||||
g.FillEllipse(additionalBrush, startPosX + 21, startPosY + 30, 3, 3);
|
||||
|
||||
g.DrawEllipse(pen, startPosX + 25, startPosY + 30, 3, 3);
|
||||
g.FillEllipse(additionalBrush, startPosX + 25, startPosY + 30, 3, 3);
|
||||
|
||||
g.DrawEllipse(pen, startPosX + 70, startPosY + 30, 3, 3);
|
||||
g.FillEllipse(additionalBrush, startPosX + 70, startPosY + 30, 3, 3);
|
||||
|
||||
// Крыло
|
||||
g.DrawEllipse(pen, startPosX + 24, startPosY + 20, 31, 4);
|
||||
g.FillEllipse(additionalBrush, startPosX + 24, startPosY + 20, 31, 4);
|
||||
|
||||
|
||||
// у хвоста
|
||||
g.DrawEllipse(pen, startPosX, startPosY + 14, 14, 5);
|
||||
g.FillEllipse(additionalBrush, startPosX, startPosY + 14, 14, 5);
|
||||
|
||||
}
|
||||
|
||||
public void ChangeBorders(int width, int height)
|
||||
{
|
||||
pictureWidht = width;
|
||||
pictureHeight = height;
|
||||
if (pictureWidht <= airbusWidth || pictureHeight <= airbusWidth)
|
||||
{
|
||||
pictureWidht = null;
|
||||
pictureHeight = null;
|
||||
return;
|
||||
}
|
||||
if ( startPosX + airbusWidth > pictureWidht)
|
||||
{
|
||||
startPosX = pictureWidht.Value - airbusWidth;
|
||||
}
|
||||
if ( startPosY + airbusHeight > pictureHeight)
|
||||
{
|
||||
startPosY = pictureHeight.Value - airbusHeight;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
42
AirBus/EntityAirBus.cs
Normal file
42
AirBus/EntityAirBus.cs
Normal file
@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AirBus
|
||||
{
|
||||
public class EntityAirBus
|
||||
{
|
||||
// Скорость
|
||||
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 IsCompartment { get; private set; }
|
||||
|
||||
// наличие доп двигателей
|
||||
public bool IsAdditionalEngine { get; private set; }
|
||||
|
||||
// шаг перемещения
|
||||
public double Step => (double)Speed * 100 / Weight;
|
||||
|
||||
public void Init (int speed, double weight, Color bodyColor, Color additionalColor, bool isCompartment, bool isAdditionalEngine)
|
||||
{
|
||||
Speed = speed;
|
||||
Weight = weight;
|
||||
BodyColor = bodyColor;
|
||||
AdditionalColor = additionalColor;
|
||||
IsCompartment = isCompartment;
|
||||
IsAdditionalEngine = isAdditionalEngine;
|
||||
}
|
||||
}
|
||||
}
|
146
AirBus/Form1.Designer.cs
generated
Normal file
146
AirBus/Form1.Designer.cs
generated
Normal file
@ -0,0 +1,146 @@
|
||||
namespace AirBus
|
||||
{
|
||||
partial class FormAirBus
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormAirBus));
|
||||
pictureAirBus = new PictureBox();
|
||||
buttonUp = new Button();
|
||||
buttonLeft = new Button();
|
||||
buttonDown = new Button();
|
||||
buttonRight = new Button();
|
||||
buttonCreate = new Button();
|
||||
((System.ComponentModel.ISupportInitialize)pictureAirBus).BeginInit();
|
||||
SuspendLayout();
|
||||
//
|
||||
// pictureAirBus
|
||||
//
|
||||
pictureAirBus.Dock = DockStyle.Fill;
|
||||
pictureAirBus.Location = new Point(0, 0);
|
||||
pictureAirBus.Name = "pictureAirBus";
|
||||
pictureAirBus.Size = new Size(800, 450);
|
||||
pictureAirBus.SizeMode = PictureBoxSizeMode.AutoSize;
|
||||
pictureAirBus.TabIndex = 0;
|
||||
pictureAirBus.TabStop = false;
|
||||
//
|
||||
// buttonUp
|
||||
//
|
||||
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
buttonUp.BackgroundImage = (Image)resources.GetObject("buttonUp.BackgroundImage");
|
||||
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
||||
buttonUp.FlatAppearance.BorderColor = Color.Black;
|
||||
buttonUp.FlatAppearance.BorderSize = 7;
|
||||
buttonUp.Location = new Point(679, 313);
|
||||
buttonUp.Name = "buttonUp";
|
||||
buttonUp.Size = new Size(48, 44);
|
||||
buttonUp.TabIndex = 1;
|
||||
buttonUp.UseVisualStyleBackColor = true;
|
||||
buttonUp.Click += buttonMove_Click;
|
||||
//
|
||||
// buttonLeft
|
||||
//
|
||||
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
buttonLeft.BackgroundImage = (Image)resources.GetObject("buttonLeft.BackgroundImage");
|
||||
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
||||
buttonLeft.FlatAppearance.BorderColor = Color.Black;
|
||||
buttonLeft.FlatAppearance.BorderSize = 7;
|
||||
buttonLeft.Location = new Point(630, 358);
|
||||
buttonLeft.Name = "buttonLeft";
|
||||
buttonLeft.Size = new Size(48, 44);
|
||||
buttonLeft.TabIndex = 2;
|
||||
buttonLeft.UseVisualStyleBackColor = true;
|
||||
buttonLeft.Click += buttonMove_Click;
|
||||
//
|
||||
// buttonDown
|
||||
//
|
||||
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
buttonDown.BackgroundImage = (Image)resources.GetObject("buttonDown.BackgroundImage");
|
||||
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
||||
buttonDown.FlatAppearance.BorderColor = Color.Black;
|
||||
buttonDown.FlatAppearance.BorderSize = 7;
|
||||
buttonDown.Location = new Point(679, 358);
|
||||
buttonDown.Name = "buttonDown";
|
||||
buttonDown.Size = new Size(48, 44);
|
||||
buttonDown.TabIndex = 3;
|
||||
buttonDown.UseVisualStyleBackColor = true;
|
||||
buttonDown.Click += buttonMove_Click;
|
||||
//
|
||||
// buttonRight
|
||||
//
|
||||
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||||
buttonRight.BackgroundImage = (Image)resources.GetObject("buttonRight.BackgroundImage");
|
||||
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
||||
buttonRight.FlatAppearance.BorderColor = Color.Black;
|
||||
buttonRight.FlatAppearance.BorderSize = 7;
|
||||
buttonRight.Location = new Point(728, 358);
|
||||
buttonRight.Name = "buttonRight";
|
||||
buttonRight.Size = new Size(48, 44);
|
||||
buttonRight.TabIndex = 4;
|
||||
buttonRight.UseVisualStyleBackColor = true;
|
||||
buttonRight.Click += buttonMove_Click;
|
||||
//
|
||||
// buttonCreate
|
||||
//
|
||||
buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
||||
buttonCreate.Location = new Point(12, 387);
|
||||
buttonCreate.Name = "buttonCreate";
|
||||
buttonCreate.Size = new Size(81, 51);
|
||||
buttonCreate.TabIndex = 5;
|
||||
buttonCreate.Text = "Создать";
|
||||
buttonCreate.UseVisualStyleBackColor = true;
|
||||
buttonCreate.Click += buttonCreate_Click;
|
||||
//
|
||||
// FormAirBus
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(800, 450);
|
||||
Controls.Add(buttonCreate);
|
||||
Controls.Add(buttonRight);
|
||||
Controls.Add(buttonDown);
|
||||
Controls.Add(buttonLeft);
|
||||
Controls.Add(buttonUp);
|
||||
Controls.Add(pictureAirBus);
|
||||
Name = "FormAirBus";
|
||||
Text = "Form1";
|
||||
Load += Form1_Load;
|
||||
((System.ComponentModel.ISupportInitialize)pictureAirBus).EndInit();
|
||||
ResumeLayout(false);
|
||||
PerformLayout();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private PictureBox pictureAirBus;
|
||||
private Button buttonUp;
|
||||
private Button buttonLeft;
|
||||
private Button buttonDown;
|
||||
private Button buttonRight;
|
||||
private Button buttonCreate;
|
||||
}
|
||||
}
|
95
AirBus/Form1.cs
Normal file
95
AirBus/Form1.cs
Normal file
@ -0,0 +1,95 @@
|
||||
namespace AirBus
|
||||
{
|
||||
public partial class FormAirBus : Form
|
||||
{
|
||||
|
||||
// ïîëå-îáúåêò äëÿ ïðîðèñòîâêè ñàìîë¸òà
|
||||
private DrawningAirBus? _drawningAirBus;
|
||||
public FormAirBus()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
// ïðîðèñîâêà ñàìîë¸òà
|
||||
private void Draw()
|
||||
{
|
||||
if (_drawningAirBus == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
Bitmap bmp = new(pictureAirBus.Width, pictureAirBus.Height);
|
||||
Graphics g = Graphics.FromImage(bmp);
|
||||
_drawningAirBus.DrawTransport(g);
|
||||
pictureAirBus.Image = bmp;
|
||||
}
|
||||
|
||||
private void PictureBoxAirBus_Resize(object sender, EventArgs e)
|
||||
{
|
||||
_drawningAirBus.ChangeBorders(pictureAirBus.Width, pictureAirBus.Height);
|
||||
Draw();
|
||||
}
|
||||
|
||||
private void Form1_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void buttonDown_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void buttonUp_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void buttonRight_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void buttonLeft_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// êíîïêà "Ñîçäàòü"
|
||||
private void buttonCreate_Click(object sender, EventArgs e)
|
||||
{
|
||||
Random random = new Random();
|
||||
_drawningAirBus = new DrawningAirBus();
|
||||
_drawningAirBus.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)), Convert.ToBoolean(random.Next(0, 2)),
|
||||
pictureAirBus.Width, pictureAirBus.Height);
|
||||
|
||||
_drawningAirBus.SetPosition(random.Next(10,100), random.Next(10,100));
|
||||
Draw();
|
||||
|
||||
}
|
||||
|
||||
private void buttonMove_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (_drawningAirBus == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
string name = ((Button)sender)?.Name ?? string.Empty;
|
||||
switch (name)
|
||||
{
|
||||
case "buttonUp":
|
||||
_drawningAirBus.MoveTransport(Direction.Up); break;
|
||||
case "buttonDown":
|
||||
_drawningAirBus.MoveTransport(Direction.Down); break;
|
||||
case "buttonLeft":
|
||||
_drawningAirBus.MoveTransport(Direction.Left); break;
|
||||
case "buttonRight":
|
||||
_drawningAirBus.MoveTransport(Direction.Right); break;
|
||||
}
|
||||
Draw();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
179
AirBus/Form1.resx
Normal file
179
AirBus/Form1.resx
Normal file
@ -0,0 +1,179 @@
|
||||
<root>
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="buttonUp.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
/9j/4AAQSkZJRgABAQEAYABgAAD/4QC2RXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAEAAIdpAAQAAAAB
|
||||
AAAAJgAAAAAAAZKGAAc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q3xfu5INU
|
||||
1g38BvLPw7pwYOkc6Ky/v7rGAm7ckJeQ7C8DN9J/8FjP+Cp/h/8A4JV/sq3HiiRdP1bx94iMmn+DdAuJ
|
||||
D/xM7wAFp5VUh/sluGV5WBXho4w6vLHX8lfxO+JviL41fEjXPGHi7WLvxB4o8TXsmparqNyR5t3cSNln
|
||||
IUBV5+UKoCqoVVCqAKAP7D/+Cbf/AAUB8H/8FLv2VNE+J3hFTYtdE2OtaNLMJrjw/qUaqZrSRgBu27ld
|
||||
H2r5kckbhV34HvlfyDf8Ed/+CpOvf8Eqf2rLXxXGuoap8P8AxJ5On+NNDt3G6/swx2XMKkhWurYtI8WS
|
||||
N4aWIsglLr/W18Lvil4f+Nnw40Pxd4T1a017w34lsYtS0zULVt0V3byqGR1zg8gjggEHggEEUAflx/wU
|
||||
9/4NsvHX/BTH9r7W/idrf7R1vpen3EcVjoWiS+CWu4/D9jGMi3jcX8YbMhkkZ9ql2kJ4AAH87/xf8AN8
|
||||
Jfi94u8JSXi6hJ4T12+0VrpYvJF0bW4kgMoTcxXd5e7aWbGcFjjNf3DV/E7+2N/yeN8YP+x717/05XH+
|
||||
f8mgD1z/AIJF/wDBMu6/4Kw/tQ6x8M7Pxtb+AZNJ8LXXic6lLo51RZhDd2Vt5HlLPBjd9sDbtxx5ZG07
|
||||
sr/R9/wRn/4Ji+Nv+CVvwX8ReAPEHxkb4peFbu/TUPD9h/wj7aWnhp38xrtY2a5nLRzyMknljYiSLK4B
|
||||
aZzX45/8Ge3H/BUzxi3b/hVWqf8Ap30Wv6VKACvye+L/APwaLfA/4ufFrxT4um+J3xg0648Vazd6zNa2
|
||||
9xprQ20tzO80iIWtC20M5xuJIGASTzRRQB7b/wAEvv8Ag3++GP8AwSt/aC1j4i+D/GnxD8Ta1q/h+bw4
|
||||
0GuTWRtYreW5triRwsNtGxk32sQB3YC78qSQV+9KKKAP/9k=
|
||||
</value>
|
||||
</data>
|
||||
<data name="buttonLeft.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
/9j/4AAQSkZJRgABAQEAYABgAAD/4QC2RXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAEAAIdpAAQAAAAB
|
||||
AAAAJgAAAAAAAZKGAAcAAAB0AAAAOAAAAABDAFIARQBBAFQATwBSADoAIABnAGQALQBqAHAAZQBnACAA
|
||||
dgAxAC4AMAAgACgAdQBzAGkAbgBnACAASQBKAEcAIABKAFAARQBHACAAdgA2ADIAKQAsACAAcQB1AGEA
|
||||
bABpAHQAeQAgAD0AIAA2ADAACgAAAAAA/9sAQwACAQECAQECAgICAgICAgMFAwMDAwMGBAQDBQcGBwcH
|
||||
BgcHCAkLCQgICggHBwoNCgoLDAwMDAcJDg8NDA4LDAwM/9sAQwECAgIDAwMGAwMGDAgHCAwMDAwMDAwM
|
||||
DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgAHgAlAwEiAAIRAQMR
|
||||
Af/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAE
|
||||
EQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElK
|
||||
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrC
|
||||
w8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAAB
|
||||
AgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkj
|
||||
M1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3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wnmKJESIB3mYl6+yKAPgv8A4N/v+CX3xB/4JW/sxeNPCHxF1jwfq+teJvFr65A3hy6u
|
||||
Lm1itzZWkChpJ4IW8wvDJlQm0DadxJIUr70ooA//2Q==
|
||||
</value>
|
||||
</data>
|
||||
<data name="buttonDown.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
/9j/4AAQSkZJRgABAQEAYABgAAD/4QC2RXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAEAAIdpAAQAAAAB
|
||||
AAAAJgAAAAAAAZKGAAcAAAB0AAAAOAAAAABDAFIARQBBAFQATwBSADoAIABnAGQALQBqAHAAZQBnACAA
|
||||
dgAxAC4AMAAgACgAdQBzAGkAbgBnACAASQBKAEcAIABKAFAARQBHACAAdgA2ADIAKQAsACAAcQB1AGEA
|
||||
bABpAHQAeQAgAD0AIAA2ADAACgAAAAAA/9sAQwACAQECAQECAgICAgICAgMFAwMDAwMGBAQDBQcGBwcH
|
||||
BgcHCAkLCQgICggHBwoNCgoLDAwMDAcJDg8NDA4LDAwM/9sAQwECAgIDAwMGAwMGDAgHCAwMDAwMDAwM
|
||||
DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgAJQAeAwEiAAIRAQMR
|
||||
Af/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAE
|
||||
EQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElK
|
||||
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrC
|
||||
w8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAAB
|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kY8qB1It+paZWl+URRNJ/QJQAV4r+3V/wAE+fhb/wAFHfhLZ+C/itoM
|
||||
mtaPp2pQ6raSW909pd2k0Zw3lzRkOqyRl4nAPKSNjDBWUooA9c8MeGdN8E+G9P0bRtPsdJ0fSbaOysbG
|
||||
ygW3trKCNQkcUUagKiIqhVVQAAAAABV6iigD/9k=
|
||||
</value>
|
||||
</data>
|
||||
<data name="buttonRight.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
/9j/4AAQSkZJRgABAQEAYABgAAD/4QC2RXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAEAAIdpAAQAAAAB
|
||||
AAAAJgAAAAAAAZKGAAcAAAB0AAAAOAAAAABDAFIARQBBAFQATwBSADoAIABnAGQALQBqAHAAZQBnACAA
|
||||
dgAxAC4AMAAgACgAdQBzAGkAbgBnACAASQBKAEcAIABKAFAARQBHACAAdgA2ADIAKQAsACAAcQB1AGEA
|
||||
bABpAHQAeQAgAD0AIAA2ADAACgAAAAAA/9sAQwACAQECAQECAgICAgICAgMFAwMDAwMGBAQDBQcGBwcH
|
||||
BgcHCAkLCQgICggHBwoNCgoLDAwMDAcJDg8NDA4LDAwM/9sAQwECAgIDAwMGAwMGDAgHCAwMDAwMDAwM
|
||||
DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgAHgAlAwEiAAIRAQMR
|
||||
Af/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAE
|
||||
EQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElK
|
||||
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrC
|
||||
w8TFxsfIycr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2RniO0sqsQwyqk4H7Af8EZf+DXjU/ifLpvxM/a
|
||||
e0vUNC8NsiXOlfD+QtbahqWcFX1MjD28WP8Al1GJmLfvTEFaKT9Hv2N/+CC3wn/Zc/bA+I3x016ZviN8
|
||||
QvGHi7UvE+jXGp2SxWnhCO7u5bkR20G51e5Uy7TdOd2EXy0hzIH+6KAMzw74Y03wX4c0/R9H0+x0nR9J
|
||||
to7KxsbO2WK2soI1CRxRRoAsaIoVVVQAAAAABRWnRQB//9k=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
17
AirBus/Program.cs
Normal file
17
AirBus/Program.cs
Normal file
@ -0,0 +1,17 @@
|
||||
namespace AirBus
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
// To customize application configuration such as set high DPI settings or default font,
|
||||
// see https://aka.ms/applicationconfiguration.
|
||||
ApplicationConfiguration.Initialize();
|
||||
Application.Run(new FormAirBus());
|
||||
}
|
||||
}
|
||||
}
|
63
AirBus/Properties/Resources.Designer.cs
generated
Normal file
63
AirBus/Properties/Resources.Designer.cs
generated
Normal file
@ -0,0 +1,63 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Этот код создан программой.
|
||||
// Исполняемая версия:4.0.30319.42000
|
||||
//
|
||||
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
||||
// повторной генерации кода.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace AirBus.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Класс ресурса со строгой типизацией для поиска локализованных строк и т.д.
|
||||
/// </summary>
|
||||
// Этот класс создан автоматически классом 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() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Возвращает кэшированный экземпляр ResourceManager, использованный этим классом.
|
||||
/// </summary>
|
||||
[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("AirBus.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Перезаписывает свойство CurrentUICulture текущего потока для всех
|
||||
/// обращений к ресурсу с помощью этого класса ресурса со строгой типизацией.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
120
AirBus/Properties/Resources.resx
Normal file
120
AirBus/Properties/Resources.resx
Normal file
@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
BIN
AirBus/images/KeyDown.jpg
Normal file
BIN
AirBus/images/KeyDown.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
AirBus/images/KeyLeft.jpg
Normal file
BIN
AirBus/images/KeyLeft.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
AirBus/images/KeyRight.jpg
Normal file
BIN
AirBus/images/KeyRight.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
AirBus/images/KeyUp.jpg
Normal file
BIN
AirBus/images/KeyUp.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Loading…
Reference in New Issue
Block a user