2023-11-23 01:37:55 +04:00
|
|
|
|
namespace Bulldozer
|
2023-11-22 22:38:41 +04:00
|
|
|
|
{
|
2023-11-23 01:37:55 +04:00
|
|
|
|
partial class Bulldozer
|
2023-11-22 22:38:41 +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-11-22 23:04:45 +04:00
|
|
|
|
pictureBoxBulldozer = new PictureBox();
|
2023-11-23 01:37:55 +04:00
|
|
|
|
buttonCreateBulldozer = new Button();
|
2023-11-22 23:04:45 +04:00
|
|
|
|
buttonLeft = new Button();
|
|
|
|
|
buttonUp = new Button();
|
|
|
|
|
buttonRight = new Button();
|
|
|
|
|
buttonDown = new Button();
|
2023-11-23 01:37:55 +04:00
|
|
|
|
comboBoxStrategy = new ComboBox();
|
|
|
|
|
buttonCreateTractor = new Button();
|
|
|
|
|
buttonStep = new Button();
|
2023-11-22 23:04:45 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxBulldozer).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// pictureBoxBulldozer
|
|
|
|
|
//
|
|
|
|
|
pictureBoxBulldozer.Dock = DockStyle.Fill;
|
|
|
|
|
pictureBoxBulldozer.Location = new Point(0, 0);
|
2023-11-23 01:37:55 +04:00
|
|
|
|
pictureBoxBulldozer.Margin = new Padding(2);
|
2023-11-22 23:04:45 +04:00
|
|
|
|
pictureBoxBulldozer.Name = "pictureBoxBulldozer";
|
2023-11-23 01:37:55 +04:00
|
|
|
|
pictureBoxBulldozer.Size = new Size(869, 307);
|
2023-11-22 23:04:45 +04:00
|
|
|
|
pictureBoxBulldozer.SizeMode = PictureBoxSizeMode.AutoSize;
|
|
|
|
|
pictureBoxBulldozer.TabIndex = 0;
|
|
|
|
|
pictureBoxBulldozer.TabStop = false;
|
|
|
|
|
//
|
2023-11-23 01:37:55 +04:00
|
|
|
|
// buttonCreateBulldozer
|
2023-11-22 23:04:45 +04:00
|
|
|
|
//
|
2023-11-23 01:37:55 +04:00
|
|
|
|
buttonCreateBulldozer.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
buttonCreateBulldozer.Font = new Font("Times New Roman", 11.25F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
buttonCreateBulldozer.Location = new Point(131, 249);
|
|
|
|
|
buttonCreateBulldozer.Margin = new Padding(2);
|
|
|
|
|
buttonCreateBulldozer.Name = "buttonCreateBulldozer";
|
|
|
|
|
buttonCreateBulldozer.Size = new Size(100, 47);
|
|
|
|
|
buttonCreateBulldozer.TabIndex = 1;
|
|
|
|
|
buttonCreateBulldozer.Text = "Создать булльдозер";
|
|
|
|
|
buttonCreateBulldozer.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateBulldozer.Click += buttonCreateBulldozer_Click;
|
2023-11-22 23:04:45 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonLeft
|
|
|
|
|
//
|
|
|
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
2023-11-23 01:37:55 +04:00
|
|
|
|
buttonLeft.BackgroundImage = ProjectBulldozer.Properties.Resources.left1;
|
2023-11-22 23:04:45 +04:00
|
|
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
2023-11-23 01:37:55 +04:00
|
|
|
|
buttonLeft.Location = new Point(764, 271);
|
|
|
|
|
buttonLeft.Margin = new Padding(2);
|
2023-11-22 23:04:45 +04:00
|
|
|
|
buttonLeft.Name = "buttonLeft";
|
2023-11-23 01:37:55 +04:00
|
|
|
|
buttonLeft.Size = new Size(26, 25);
|
2023-11-22 23:04:45 +04:00
|
|
|
|
buttonLeft.TabIndex = 2;
|
|
|
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonLeft.Click += buttonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonUp
|
|
|
|
|
//
|
|
|
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
2023-11-23 01:37:55 +04:00
|
|
|
|
buttonUp.BackgroundImage = ProjectBulldozer.Properties.Resources.up1;
|
2023-11-22 23:04:45 +04:00
|
|
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
2023-11-23 01:37:55 +04:00
|
|
|
|
buttonUp.Location = new Point(792, 240);
|
|
|
|
|
buttonUp.Margin = new Padding(2);
|
2023-11-22 23:04:45 +04:00
|
|
|
|
buttonUp.Name = "buttonUp";
|
2023-11-23 01:37:55 +04:00
|
|
|
|
buttonUp.Size = new Size(30, 27);
|
2023-11-22 23:04:45 +04:00
|
|
|
|
buttonUp.TabIndex = 3;
|
|
|
|
|
buttonUp.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUp.Click += buttonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRight
|
|
|
|
|
//
|
|
|
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
2023-11-23 01:37:55 +04:00
|
|
|
|
buttonRight.BackgroundImage = ProjectBulldozer.Properties.Resources.right1;
|
2023-11-22 23:04:45 +04:00
|
|
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
2023-11-23 01:37:55 +04:00
|
|
|
|
buttonRight.Location = new Point(826, 271);
|
|
|
|
|
buttonRight.Margin = new Padding(2);
|
2023-11-22 23:04:45 +04:00
|
|
|
|
buttonRight.Name = "buttonRight";
|
2023-11-23 01:37:55 +04:00
|
|
|
|
buttonRight.Size = new Size(27, 25);
|
2023-11-22 23:04:45 +04:00
|
|
|
|
buttonRight.TabIndex = 4;
|
|
|
|
|
buttonRight.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRight.Click += buttonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonDown
|
|
|
|
|
//
|
|
|
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
2023-11-23 01:37:55 +04:00
|
|
|
|
buttonDown.BackgroundImage = ProjectBulldozer.Properties.Resources.down1;
|
2023-11-22 23:04:45 +04:00
|
|
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
2023-11-23 01:37:55 +04:00
|
|
|
|
buttonDown.Location = new Point(794, 271);
|
|
|
|
|
buttonDown.Margin = new Padding(2);
|
2023-11-22 23:04:45 +04:00
|
|
|
|
buttonDown.Name = "buttonDown";
|
2023-11-23 01:37:55 +04:00
|
|
|
|
buttonDown.Size = new Size(30, 25);
|
2023-11-22 23:04:45 +04:00
|
|
|
|
buttonDown.TabIndex = 5;
|
|
|
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDown.Click += buttonMove_Click;
|
|
|
|
|
//
|
2023-11-23 01:37:55 +04:00
|
|
|
|
// comboBoxStrategy
|
|
|
|
|
//
|
|
|
|
|
comboBoxStrategy.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxStrategy.Font = new Font("Times New Roman", 11.25F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
|
|
|
comboBoxStrategy.Items.AddRange(new object[] { "К центру", "В угол" });
|
|
|
|
|
comboBoxStrategy.Location = new Point(693, 10);
|
|
|
|
|
comboBoxStrategy.Margin = new Padding(2);
|
|
|
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
|
|
|
|
comboBoxStrategy.Size = new Size(150, 25);
|
|
|
|
|
comboBoxStrategy.TabIndex = 6;
|
|
|
|
|
comboBoxStrategy.SelectedIndexChanged += comboBoxStrategy_SelectedIndexChanged;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateTractor
|
|
|
|
|
//
|
|
|
|
|
buttonCreateTractor.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
buttonCreateTractor.Font = new Font("Times New Roman", 11.25F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
buttonCreateTractor.Location = new Point(11, 249);
|
|
|
|
|
buttonCreateTractor.Margin = new Padding(2);
|
|
|
|
|
buttonCreateTractor.Name = "buttonCreateTractor";
|
|
|
|
|
buttonCreateTractor.Size = new Size(106, 47);
|
|
|
|
|
buttonCreateTractor.TabIndex = 7;
|
|
|
|
|
buttonCreateTractor.Text = "Создать трактор";
|
|
|
|
|
buttonCreateTractor.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateTractor.Click += buttonCreateTractor_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonStep
|
|
|
|
|
//
|
|
|
|
|
buttonStep.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonStep.Font = new Font("Times New Roman", 11.25F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
buttonStep.Location = new Point(755, 39);
|
|
|
|
|
buttonStep.Margin = new Padding(2);
|
|
|
|
|
buttonStep.Name = "buttonStep";
|
|
|
|
|
buttonStep.Size = new Size(88, 34);
|
|
|
|
|
buttonStep.TabIndex = 8;
|
|
|
|
|
buttonStep.Text = "Шаг";
|
|
|
|
|
buttonStep.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonStep.Click += buttonStep_Click;
|
|
|
|
|
//
|
|
|
|
|
// Bulldozer
|
2023-11-22 23:04:45 +04:00
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2023-11-23 01:37:55 +04:00
|
|
|
|
ClientSize = new Size(869, 307);
|
|
|
|
|
Controls.Add(buttonStep);
|
|
|
|
|
Controls.Add(buttonCreateTractor);
|
|
|
|
|
Controls.Add(comboBoxStrategy);
|
2023-11-22 23:04:45 +04:00
|
|
|
|
Controls.Add(buttonDown);
|
|
|
|
|
Controls.Add(buttonRight);
|
|
|
|
|
Controls.Add(buttonUp);
|
|
|
|
|
Controls.Add(buttonLeft);
|
2023-11-23 01:37:55 +04:00
|
|
|
|
Controls.Add(buttonCreateBulldozer);
|
2023-11-22 23:04:45 +04:00
|
|
|
|
Controls.Add(pictureBoxBulldozer);
|
2023-11-23 01:37:55 +04:00
|
|
|
|
Margin = new Padding(2);
|
|
|
|
|
Name = "Bulldozer";
|
|
|
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
Text = "Bulldozer";
|
2023-11-22 23:04:45 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxBulldozer).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
2023-11-22 22:38:41 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
2023-11-22 23:04:45 +04:00
|
|
|
|
|
|
|
|
|
private PictureBox pictureBoxBulldozer;
|
2023-11-23 01:37:55 +04:00
|
|
|
|
private Button buttonCreateBulldozer;
|
2023-11-22 23:04:45 +04:00
|
|
|
|
private Button buttonLeft;
|
|
|
|
|
private Button buttonUp;
|
|
|
|
|
private Button buttonRight;
|
|
|
|
|
private Button buttonDown;
|
2023-11-23 01:37:55 +04:00
|
|
|
|
private ComboBox comboBoxStrategy;
|
|
|
|
|
private Button buttonCreateTractor;
|
|
|
|
|
private Button buttonStep;
|
2023-11-22 22:38:41 +04:00
|
|
|
|
}
|
2023-11-23 01:37:55 +04:00
|
|
|
|
}
|