diff --git a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Direction.cs b/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Direction.cs deleted file mode 100644 index 08bdb41..0000000 --- a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Direction.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace PIbd_22_Kalyshev_Y_V_MotorBoat_Base -{ - internal enum Direction - { - Up = 1, - Down = 2, - Left = 3, - Right = 4 - } -} diff --git a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/DrawningBoat.cs b/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/DrawningBoat.cs deleted file mode 100644 index 707c66d..0000000 --- a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/DrawningBoat.cs +++ /dev/null @@ -1,163 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace PIbd_22_Kalyshev_Y_V_MotorBoat_Base -{ - internal class DrawningBoat - { - /// - /// Класс-сущность - /// - public EntityBoat Boat { private set; get; } - /// - /// Левая координата отрисовки автомобиля - /// - private float _startPosX; - /// - /// Верхняя кооридната отрисовки автомобиля - /// - private float _startPosY; - /// - /// Ширина окна отрисовки - /// - private int? _pictureWidth = null; - /// - /// Высота окна отрисовки - /// - private int? _pictureHeight = null; - /// - /// Ширина отрисовки автомобиля - /// - private readonly int _boatWidth = 170; - /// - /// Высота отрисовки автомобиля - /// - private readonly int _boatHeight = 60; - /// - /// Инициализация свойств - /// - /// Скорость - /// Вес автомобиля - /// Цвет кузова - public void Init(int speed, float weight, Color bodyColor) - { - Boat = new EntityBoat(); - Boat.Init(speed, weight, bodyColor); - } - /// - /// Установка позиции автомобиля - /// - /// Координата X - /// Координата Y - /// Ширина картинки - /// Высота картинки - public void SetPosition(int x, int y, int width, int height) - { - if (x + _boatWidth <= width && y + _boatHeight <= height && x > 0 && y > 0) - { - _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 + _boatWidth + Boat.Step < _pictureWidth) - { - _startPosX += Boat.Step; - } - break; - //влево - case Direction.Left: - if (_startPosX - Boat.Step > 0) - { - _startPosX -= Boat.Step; - } - break; - //вверх - case Direction.Up: - if (_startPosY - Boat.Step > 0) - { - _startPosY -= Boat.Step; - } - break; - //вниз - case Direction.Down: - if (_startPosY + _boatHeight + Boat.Step < _pictureHeight) - { - _startPosY += Boat.Step; - } - break; - } - } - /// - /// Отрисовка лодки - /// - /// - public void DrawTransport(Graphics g) - { - if (_startPosX < 0 || _startPosY < 0 - || !_pictureHeight.HasValue || !_pictureWidth.HasValue) - { - return; - } - Pen pen = new(Color.Black, 3); - Brush br = new SolidBrush(Boat?.BodyColor ?? Color.Black); - Brush brBrown = new SolidBrush(Color.Brown); - // Внешняя часть лодки - g.DrawLine(pen, _startPosX, _startPosY, _startPosX + 120, _startPosY + 0); - g.DrawLine(pen, _startPosX + 120, _startPosY, _startPosX + 170, _startPosY + 30); - g.DrawLine(pen, _startPosX + 170, _startPosY + 30, _startPosX + 120, _startPosY + 60); - g.DrawLine(pen, _startPosX + 120, _startPosY + 60, _startPosX, _startPosY + 60); - g.DrawLine(pen, _startPosX, _startPosY + 60, _startPosX, _startPosY); - PointF pt1 = new PointF(_startPosX, _startPosY); - PointF pt2 = new PointF(_startPosX + 120, _startPosY); - PointF pt3 = new PointF(_startPosX + 170, _startPosY + 30); - PointF pt4 = new PointF(_startPosX + 120, _startPosY + 60); - PointF pt5 = new PointF(_startPosX, _startPosY + 60); - g.FillPolygon(br, new PointF[] { pt1, pt2, pt3, pt4, pt5}); - // Внутренняя часть лодки - g.FillEllipse(brBrown, _startPosX + 10, _startPosY + 10, 110, 40); - } - /// - /// Смена границ формы отрисовки - /// - /// Ширина картинки - /// Высота картинки - public void ChangeBorders(int width, int height) - { - _pictureWidth = width; - _pictureHeight = height; - if (_pictureWidth <= _boatWidth || _pictureHeight <= _boatHeight) - { - _pictureWidth = null; - _pictureHeight = null; - return; - } - if (_startPosX + _boatWidth > _pictureWidth) - { - _startPosX = _pictureWidth.Value - _boatWidth; - } - if (_startPosY + _boatHeight > _pictureHeight) - { - _startPosY = _pictureHeight.Value - _boatHeight; - } - } - } -} diff --git a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/EntityBoat.cs b/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/EntityBoat.cs deleted file mode 100644 index 2e68e8e..0000000 --- a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/EntityBoat.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace PIbd_22_Kalyshev_Y_V_MotorBoat_Base -{ - internal class EntityBoat - { - 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(5, 30) : speed; - Weight = weight <= 0 ? rnd.Next(30, 100) : weight; - BodyColor = bodyColor; - } - - } -} diff --git a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/FormBoat.Designer.cs b/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/FormBoat.Designer.cs deleted file mode 100644 index 39b526d..0000000 --- a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/FormBoat.Designer.cs +++ /dev/null @@ -1,183 +0,0 @@ -namespace PIbd_22_Kalyshev_Y_V_MotorBoat_Base.git -{ - partial class FormBoat - { - /// - /// 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.statusStrip1 = new System.Windows.Forms.StatusStrip(); - this.toolStripStatusLabelSpeed = new System.Windows.Forms.ToolStripStatusLabel(); - this.toolStripStatusLabelWeight = new System.Windows.Forms.ToolStripStatusLabel(); - this.toolStripStatusLabelBodyColor = new System.Windows.Forms.ToolStripStatusLabel(); - this.pictureBoxBoat = new System.Windows.Forms.PictureBox(); - this.buttonCreate = new System.Windows.Forms.Button(); - this.buttonRight = new System.Windows.Forms.Button(); - this.buttonLeft = new System.Windows.Forms.Button(); - this.buttonUp = new System.Windows.Forms.Button(); - this.buttonDown = new System.Windows.Forms.Button(); - this.statusStrip1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBoat)).BeginInit(); - this.SuspendLayout(); - // - // statusStrip1 - // - this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); - this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripStatusLabelSpeed, - this.toolStripStatusLabelWeight, - this.toolStripStatusLabelBodyColor}); - this.statusStrip1.Location = new System.Drawing.Point(0, 427); - this.statusStrip1.Name = "statusStrip1"; - this.statusStrip1.Size = new System.Drawing.Size(882, 26); - this.statusStrip1.TabIndex = 0; - this.statusStrip1.Text = "statusStrip1"; - // - // toolStripStatusLabelSpeed - // - this.toolStripStatusLabelSpeed.Name = "toolStripStatusLabelSpeed"; - this.toolStripStatusLabelSpeed.Size = new System.Drawing.Size(76, 20); - this.toolStripStatusLabelSpeed.Text = "Скорость:"; - // - // toolStripStatusLabelWeight - // - this.toolStripStatusLabelWeight.Name = "toolStripStatusLabelWeight"; - this.toolStripStatusLabelWeight.Size = new System.Drawing.Size(36, 20); - this.toolStripStatusLabelWeight.Text = "Вес:"; - // - // toolStripStatusLabelBodyColor - // - this.toolStripStatusLabelBodyColor.Name = "toolStripStatusLabelBodyColor"; - this.toolStripStatusLabelBodyColor.Size = new System.Drawing.Size(45, 20); - this.toolStripStatusLabelBodyColor.Text = "Цвет:"; - // - // pictureBoxBoat - // - this.pictureBoxBoat.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.pictureBoxBoat.Dock = System.Windows.Forms.DockStyle.Fill; - this.pictureBoxBoat.Location = new System.Drawing.Point(0, 0); - this.pictureBoxBoat.Name = "pictureBoxBoat"; - this.pictureBoxBoat.Size = new System.Drawing.Size(882, 427); - this.pictureBoxBoat.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; - this.pictureBoxBoat.TabIndex = 1; - this.pictureBoxBoat.TabStop = false; - this.pictureBoxBoat.SizeChanged += new System.EventHandler(this.PictureBoxBoat_Resize); - this.pictureBoxBoat.Resize += new System.EventHandler(this.PictureBoxBoat_Resize); - // - // 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, 385); - this.buttonCreate.Name = "buttonCreate"; - this.buttonCreate.Size = new System.Drawing.Size(94, 29); - this.buttonCreate.TabIndex = 2; - this.buttonCreate.Text = "Создать"; - this.buttonCreate.UseVisualStyleBackColor = true; - this.buttonCreate.Click += new System.EventHandler(this.ButtonCreate_Click); - // - // buttonRight - // - this.buttonRight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.buttonRight.BackgroundImage = global::PIbd_22_Kalyshev_Y_V_MotorBoat_Base.Properties.Resources.right; - this.buttonRight.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; - this.buttonRight.Location = new System.Drawing.Point(820, 374); - this.buttonRight.Name = "buttonRight"; - this.buttonRight.Size = new System.Drawing.Size(40, 40); - this.buttonRight.TabIndex = 3; - this.buttonRight.UseVisualStyleBackColor = true; - this.buttonRight.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::PIbd_22_Kalyshev_Y_V_MotorBoat_Base.Properties.Resources.left; - this.buttonLeft.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; - this.buttonLeft.Location = new System.Drawing.Point(728, 374); - this.buttonLeft.Name = "buttonLeft"; - this.buttonLeft.Size = new System.Drawing.Size(40, 40); - this.buttonLeft.TabIndex = 4; - this.buttonLeft.UseVisualStyleBackColor = true; - this.buttonLeft.Click += new System.EventHandler(this.ButtonMove_Click); - // - // buttonUp - // - this.buttonUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.buttonUp.BackgroundImage = global::PIbd_22_Kalyshev_Y_V_MotorBoat_Base.Properties.Resources.up; - this.buttonUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; - this.buttonUp.Location = new System.Drawing.Point(774, 328); - this.buttonUp.Name = "buttonUp"; - this.buttonUp.Size = new System.Drawing.Size(40, 40); - this.buttonUp.TabIndex = 5; - this.buttonUp.UseVisualStyleBackColor = true; - this.buttonUp.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::PIbd_22_Kalyshev_Y_V_MotorBoat_Base.Properties.Resources.down; - this.buttonDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; - this.buttonDown.Location = new System.Drawing.Point(774, 374); - this.buttonDown.Name = "buttonDown"; - this.buttonDown.Size = new System.Drawing.Size(40, 40); - this.buttonDown.TabIndex = 6; - this.buttonDown.UseVisualStyleBackColor = true; - this.buttonDown.Click += new System.EventHandler(this.ButtonMove_Click); - // - // FormBoat - // - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(882, 453); - this.Controls.Add(this.buttonDown); - this.Controls.Add(this.buttonUp); - this.Controls.Add(this.buttonLeft); - this.Controls.Add(this.buttonRight); - this.Controls.Add(this.buttonCreate); - this.Controls.Add(this.pictureBoxBoat); - this.Controls.Add(this.statusStrip1); - this.Name = "FormBoat"; - this.Text = "Лодка"; - this.statusStrip1.ResumeLayout(false); - this.statusStrip1.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBoxBoat)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private StatusStrip statusStrip1; - private ToolStripStatusLabel toolStripStatusLabelSpeed; - private ToolStripStatusLabel toolStripStatusLabelWeight; - private ToolStripStatusLabel toolStripStatusLabelBodyColor; - private PictureBox pictureBoxBoat; - private Button buttonCreate; - private Button buttonRight; - private Button buttonLeft; - private Button buttonUp; - private Button buttonDown; - } -} \ No newline at end of file diff --git a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/FormBoat.cs b/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/FormBoat.cs deleted file mode 100644 index 11cea2d..0000000 --- a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/FormBoat.cs +++ /dev/null @@ -1,74 +0,0 @@ -namespace PIbd_22_Kalyshev_Y_V_MotorBoat_Base.git -{ - public partial class FormBoat : Form - { - private DrawningBoat _boat; - - public FormBoat() - { - InitializeComponent(); - } - /// - /// - /// - private void Draw() - { - Bitmap bmp = new(pictureBoxBoat.Width, pictureBoxBoat.Height); - Graphics gr = Graphics.FromImage(bmp); - _boat?.DrawTransport(gr); - pictureBoxBoat.Image = bmp; - } - /// - /// "" - /// - /// - /// - private void ButtonCreate_Click(object sender, EventArgs e) - { - Random rnd = new(); - _boat = new DrawningBoat(); - _boat.Init(rnd.Next(5, 30), rnd.Next(30, 100), Color.FromArgb(rnd.Next(0, 256), rnd.Next(0, 256), rnd.Next(0, 256))); - _boat.SetPosition(rnd.Next(10, 100), rnd.Next(10, 100), pictureBoxBoat.Width, pictureBoxBoat.Height); - toolStripStatusLabelSpeed.Text = $": {_boat.Boat.Speed}"; - toolStripStatusLabelWeight.Text = $": {_boat.Boat.Weight}"; - toolStripStatusLabelBodyColor.Text = $": {_boat.Boat.BodyColor.Name}"; - Draw(); - } - /// - /// - /// - /// - /// - private void ButtonMove_Click(object sender, EventArgs e) - { - // - string name = ((Button)sender)?.Name ?? string.Empty; - switch (name) - { - case "buttonUp": - _boat?.MoveTransport(Direction.Up); - break; - case "buttonDown": - _boat?.MoveTransport(Direction.Down); - break; - case "buttonLeft": - _boat?.MoveTransport(Direction.Left); - break; - case "buttonRight": - _boat?.MoveTransport(Direction.Right); - break; - } - Draw(); - } - /// - /// - /// - /// - /// - private void PictureBoxBoat_Resize(object sender, EventArgs e) - { - _boat?.ChangeBorders(pictureBoxBoat.Width, pictureBoxBoat.Height); - Draw(); - } - } -} \ No newline at end of file diff --git a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/FormBoat.resx b/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/FormBoat.resx deleted file mode 100644 index 5cb320f..0000000 --- a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/FormBoat.resx +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git.csproj b/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git.csproj deleted file mode 100644 index d67efd1..0000000 --- a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git.csproj +++ /dev/null @@ -1,27 +0,0 @@ - - - - WinExe - net6.0-windows - PIbd_22_Kalyshev_Y_V_MotorBoat_Base - enable - true - enable - - - - - True - True - Resources.resx - - - - - - ResXFileCodeGenerator - Resources.Designer.cs - - - - \ No newline at end of file diff --git a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git.sln b/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git.sln deleted file mode 100644 index ff5fbd7..0000000 --- a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.3.32825.248 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git", "PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git.csproj", "{F7824EEA-00A3-4B62-B510-CBD44AF85FA1}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F7824EEA-00A3-4B62-B510-CBD44AF85FA1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F7824EEA-00A3-4B62-B510-CBD44AF85FA1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F7824EEA-00A3-4B62-B510-CBD44AF85FA1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F7824EEA-00A3-4B62-B510-CBD44AF85FA1}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {6EC81E4D-8D24-4BA7-AF93-D11E557AA54D} - EndGlobalSection -EndGlobal diff --git a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Program.cs b/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Program.cs deleted file mode 100644 index 443c576..0000000 --- a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Program.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace PIbd_22_Kalyshev_Y_V_MotorBoat_Base.git -{ - internal static class Program - { - /// - /// The main entry point for the application. - /// - [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 FormBoat()); - } - } -} \ No newline at end of file diff --git a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Properties/Resources.Designer.cs b/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Properties/Resources.Designer.cs deleted file mode 100644 index 321842f..0000000 --- a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Properties/Resources.Designer.cs +++ /dev/null @@ -1,103 +0,0 @@ -//------------------------------------------------------------------------------ -// -// Этот код создан программой. -// Исполняемая версия:4.0.30319.42000 -// -// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае -// повторной генерации кода. -// -//------------------------------------------------------------------------------ - -namespace PIbd_22_Kalyshev_Y_V_MotorBoat_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("PIbd_22_Kalyshev_Y_V_MotorBoat_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/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Properties/Resources.resx b/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Properties/Resources.resx deleted file mode 100644 index a9cc51f..0000000 --- a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Properties/Resources.resx +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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\right1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\down1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\left1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\up1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - \ No newline at end of file diff --git a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Resources/down1.png b/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Resources/down1.png deleted file mode 100644 index 8f79043..0000000 Binary files a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Resources/down1.png and /dev/null differ diff --git a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Resources/left1.png b/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Resources/left1.png deleted file mode 100644 index 3addd5f..0000000 Binary files a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Resources/left1.png and /dev/null differ diff --git a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Resources/right1.png b/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Resources/right1.png deleted file mode 100644 index 8cca371..0000000 Binary files a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Resources/right1.png and /dev/null differ diff --git a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Resources/up1.png b/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Resources/up1.png deleted file mode 100644 index 447ee1e..0000000 Binary files a/PIbd-22_Kalyshev_Y_V_MotorBoat_Base.git/Resources/up1.png and /dev/null differ