2023-09-22 18:54:14 +04:00
|
|
|
|
namespace Hydroplane
|
|
|
|
|
{
|
2023-09-23 12:02:28 +04:00
|
|
|
|
partial class FormHydroplane
|
2023-09-22 18:54:14 +04:00
|
|
|
|
{
|
|
|
|
|
/// <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();
|
2023-10-11 09:42:48 +04:00
|
|
|
|
buttonCreatePlane = new Button();
|
2023-09-22 21:05:01 +04:00
|
|
|
|
buttonUp = new Button();
|
|
|
|
|
buttonLeft = new Button();
|
|
|
|
|
buttonDown = new Button();
|
|
|
|
|
buttonRight = new Button();
|
2023-10-11 09:42:48 +04:00
|
|
|
|
buttonCreateHydroplane = new Button();
|
|
|
|
|
comboBoxStrategy = new ComboBox();
|
|
|
|
|
buttonStep = new Button();
|
2023-09-22 21:05:01 +04:00
|
|
|
|
((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;
|
|
|
|
|
//
|
2023-10-11 09:42:48 +04:00
|
|
|
|
// buttonCreatePlane
|
2023-09-22 21:05:01 +04:00
|
|
|
|
//
|
2023-10-11 09:42:48 +04:00
|
|
|
|
buttonCreatePlane.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
buttonCreatePlane.Location = new Point(24, 398);
|
|
|
|
|
buttonCreatePlane.Name = "buttonCreatePlane";
|
|
|
|
|
buttonCreatePlane.Size = new Size(108, 35);
|
|
|
|
|
buttonCreatePlane.TabIndex = 1;
|
|
|
|
|
buttonCreatePlane.Text = "Create plane";
|
|
|
|
|
buttonCreatePlane.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreatePlane.Click += buttonCreatePlane_Click;
|
2023-09-22 21:05:01 +04:00
|
|
|
|
//
|
|
|
|
|
// 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;
|
|
|
|
|
//
|
2023-10-11 09:42:48 +04:00
|
|
|
|
// buttonCreateHydroplane
|
|
|
|
|
//
|
|
|
|
|
buttonCreateHydroplane.Location = new Point(157, 398);
|
|
|
|
|
buttonCreateHydroplane.Name = "buttonCreateHydroplane";
|
|
|
|
|
buttonCreateHydroplane.Size = new Size(125, 35);
|
|
|
|
|
buttonCreateHydroplane.TabIndex = 6;
|
|
|
|
|
buttonCreateHydroplane.Text = "Create hydroplane";
|
|
|
|
|
buttonCreateHydroplane.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateHydroplane.Click += buttonCreateHydroplane_Click;
|
|
|
|
|
//
|
|
|
|
|
// comboBoxStrategy
|
|
|
|
|
//
|
|
|
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
|
|
|
comboBoxStrategy.Items.AddRange(new object[] { "В центр", "Вниз" });
|
|
|
|
|
comboBoxStrategy.Location = new Point(751, 12);
|
|
|
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
|
|
|
|
comboBoxStrategy.Size = new Size(121, 23);
|
|
|
|
|
comboBoxStrategy.TabIndex = 7;
|
|
|
|
|
//
|
|
|
|
|
// buttonStep
|
|
|
|
|
//
|
|
|
|
|
buttonStep.Location = new Point(797, 41);
|
|
|
|
|
buttonStep.Name = "buttonStep";
|
|
|
|
|
buttonStep.Size = new Size(75, 23);
|
|
|
|
|
buttonStep.TabIndex = 8;
|
|
|
|
|
buttonStep.Text = "Step";
|
|
|
|
|
buttonStep.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonStep.Click += buttonStep_Click;
|
|
|
|
|
//
|
2023-09-23 12:02:28 +04:00
|
|
|
|
// FormHydroplane
|
2023-09-22 21:05:01 +04:00
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(884, 461);
|
2023-10-11 09:42:48 +04:00
|
|
|
|
Controls.Add(buttonStep);
|
|
|
|
|
Controls.Add(comboBoxStrategy);
|
|
|
|
|
Controls.Add(buttonCreateHydroplane);
|
2023-09-22 21:05:01 +04:00
|
|
|
|
Controls.Add(buttonRight);
|
|
|
|
|
Controls.Add(buttonDown);
|
|
|
|
|
Controls.Add(buttonLeft);
|
|
|
|
|
Controls.Add(buttonUp);
|
2023-10-11 09:42:48 +04:00
|
|
|
|
Controls.Add(buttonCreatePlane);
|
2023-09-22 21:05:01 +04:00
|
|
|
|
Controls.Add(pictureBoxHydroplane);
|
2023-09-23 12:02:28 +04:00
|
|
|
|
Name = "FormHydroplane";
|
2023-09-22 21:05:01 +04:00
|
|
|
|
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;
|
2023-10-11 09:42:48 +04:00
|
|
|
|
private Button buttonCreatePlane;
|
2023-09-22 21:05:01 +04:00
|
|
|
|
private Button buttonUp;
|
|
|
|
|
private Button buttonLeft;
|
|
|
|
|
private Button buttonDown;
|
|
|
|
|
private Button buttonRight;
|
2023-10-11 09:42:48 +04:00
|
|
|
|
private Button buttonCreateHydroplane;
|
|
|
|
|
private ComboBox comboBoxStrategy;
|
|
|
|
|
private Button buttonStep;
|
2023-09-22 18:54:14 +04:00
|
|
|
|
}
|
|
|
|
|
}
|