2023-09-22 18:54:14 +04:00
|
|
|
|
namespace Hydroplane
|
|
|
|
|
{
|
|
|
|
|
partial class Form1
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
2023-09-22 21:05:01 +04:00
|
|
|
|
pictureBoxHydroplane = new PictureBox();
|
|
|
|
|
buttonCreate = new Button();
|
|
|
|
|
buttonUp = new Button();
|
|
|
|
|
buttonLeft = new Button();
|
|
|
|
|
buttonDown = new Button();
|
|
|
|
|
buttonRight = new Button();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxHydroplane).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// pictureBoxHydroplane
|
|
|
|
|
//
|
|
|
|
|
pictureBoxHydroplane.Dock = DockStyle.Fill;
|
|
|
|
|
pictureBoxHydroplane.Location = new Point(0, 0);
|
|
|
|
|
pictureBoxHydroplane.Name = "pictureBoxHydroplane";
|
|
|
|
|
pictureBoxHydroplane.Size = new Size(884, 461);
|
|
|
|
|
pictureBoxHydroplane.SizeMode = PictureBoxSizeMode.AutoSize;
|
|
|
|
|
pictureBoxHydroplane.TabIndex = 0;
|
|
|
|
|
pictureBoxHydroplane.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreate
|
|
|
|
|
//
|
|
|
|
|
buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
buttonCreate.Location = new Point(33, 394);
|
|
|
|
|
buttonCreate.Name = "buttonCreate";
|
|
|
|
|
buttonCreate.Size = new Size(108, 35);
|
|
|
|
|
buttonCreate.TabIndex = 1;
|
|
|
|
|
buttonCreate.Text = "Создать";
|
|
|
|
|
buttonCreate.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreate.Click += buttonCreate_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonUp
|
|
|
|
|
//
|
|
|
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonUp.BackgroundImage = Properties.Resources.up;
|
|
|
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonUp.Location = new Point(774, 331);
|
|
|
|
|
buttonUp.Name = "buttonUp";
|
|
|
|
|
buttonUp.Size = new Size(30, 30);
|
|
|
|
|
buttonUp.TabIndex = 2;
|
|
|
|
|
buttonUp.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUp.Click += buttonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonLeft
|
|
|
|
|
//
|
|
|
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonLeft.BackgroundImage = Properties.Resources.left;
|
|
|
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonLeft.Location = new Point(728, 366);
|
|
|
|
|
buttonLeft.Name = "buttonLeft";
|
|
|
|
|
buttonLeft.Size = new Size(30, 30);
|
|
|
|
|
buttonLeft.TabIndex = 3;
|
|
|
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonLeft.Click += buttonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonDown
|
|
|
|
|
//
|
|
|
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonDown.BackgroundImage = Properties.Resources.down;
|
|
|
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonDown.Location = new Point(774, 403);
|
|
|
|
|
buttonDown.Name = "buttonDown";
|
|
|
|
|
buttonDown.Size = new Size(30, 30);
|
|
|
|
|
buttonDown.TabIndex = 4;
|
|
|
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDown.Click += buttonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRight
|
|
|
|
|
//
|
|
|
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonRight.BackgroundImage = Properties.Resources.right;
|
|
|
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonRight.Location = new Point(816, 366);
|
|
|
|
|
buttonRight.Name = "buttonRight";
|
|
|
|
|
buttonRight.Size = new Size(30, 30);
|
|
|
|
|
buttonRight.TabIndex = 5;
|
|
|
|
|
buttonRight.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRight.Click += buttonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// Form1
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(884, 461);
|
|
|
|
|
Controls.Add(buttonRight);
|
|
|
|
|
Controls.Add(buttonDown);
|
|
|
|
|
Controls.Add(buttonLeft);
|
|
|
|
|
Controls.Add(buttonUp);
|
|
|
|
|
Controls.Add(buttonCreate);
|
|
|
|
|
Controls.Add(pictureBoxHydroplane);
|
|
|
|
|
Name = "Form1";
|
|
|
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
Text = "Hydroplane";
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxHydroplane).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
2023-09-22 18:54:14 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
2023-09-22 21:05:01 +04:00
|
|
|
|
|
|
|
|
|
private PictureBox pictureBoxHydroplane;
|
|
|
|
|
private Button buttonCreate;
|
|
|
|
|
private Button buttonUp;
|
|
|
|
|
private Button buttonLeft;
|
|
|
|
|
private Button buttonDown;
|
|
|
|
|
private Button buttonRight;
|
2023-09-22 18:54:14 +04:00
|
|
|
|
}
|
|
|
|
|
}
|