165 lines
6.7 KiB
C#
165 lines
6.7 KiB
C#
namespace ProjectHoistingCrane
|
|
{
|
|
partial class FormHoistingCrane
|
|
{
|
|
/// <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()
|
|
{
|
|
pictureBox1 = new PictureBox();
|
|
pictureBoxHoistingCrane = new PictureBox();
|
|
buttonLeft = new Button();
|
|
buttonUp = new Button();
|
|
buttonRight = new Button();
|
|
buttonDown = new Button();
|
|
comboBoxStrategy = new ComboBox();
|
|
StepButton = new Button();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxHoistingCrane).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// pictureBox1
|
|
//
|
|
pictureBox1.Dock = DockStyle.Fill;
|
|
pictureBox1.Location = new Point(0, 0);
|
|
pictureBox1.Name = "pictureBox1";
|
|
pictureBox1.Size = new Size(682, 453);
|
|
pictureBox1.SizeMode = PictureBoxSizeMode.AutoSize;
|
|
pictureBox1.TabIndex = 0;
|
|
pictureBox1.TabStop = false;
|
|
//
|
|
// pictureBoxHoistingCrane
|
|
//
|
|
pictureBoxHoistingCrane.Dock = DockStyle.Fill;
|
|
pictureBoxHoistingCrane.Location = new Point(0, 0);
|
|
pictureBoxHoistingCrane.Name = "pictureBoxHoistingCrane";
|
|
pictureBoxHoistingCrane.Size = new Size(682, 453);
|
|
pictureBoxHoistingCrane.SizeMode = PictureBoxSizeMode.AutoSize;
|
|
pictureBoxHoistingCrane.TabIndex = 1;
|
|
pictureBoxHoistingCrane.TabStop = false;
|
|
//
|
|
// buttonLeft
|
|
//
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonLeft.BackgroundImage = Properties.Resources.arrowLeft;
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonLeft.Location = new Point(550, 402);
|
|
buttonLeft.Name = "buttonLeft";
|
|
buttonLeft.Size = new Size(30, 30);
|
|
buttonLeft.TabIndex = 3;
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
|
buttonLeft.Click += buttonMove_Click;
|
|
//
|
|
// buttonUp
|
|
//
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonUp.BackgroundImage = Properties.Resources.arrowUp;
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonUp.Location = new Point(586, 365);
|
|
buttonUp.Name = "buttonUp";
|
|
buttonUp.Size = new Size(30, 30);
|
|
buttonUp.TabIndex = 4;
|
|
buttonUp.UseVisualStyleBackColor = true;
|
|
buttonUp.Click += buttonMove_Click;
|
|
//
|
|
// buttonRight
|
|
//
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonRight.BackgroundImage = Properties.Resources.arrowRight;
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonRight.Location = new Point(622, 401);
|
|
buttonRight.Name = "buttonRight";
|
|
buttonRight.Size = new Size(30, 30);
|
|
buttonRight.TabIndex = 5;
|
|
buttonRight.UseVisualStyleBackColor = true;
|
|
buttonRight.Click += buttonMove_Click;
|
|
//
|
|
// buttonDown
|
|
//
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonDown.BackgroundImage = Properties.Resources.arrowDown;
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonDown.Location = new Point(586, 402);
|
|
buttonDown.Name = "buttonDown";
|
|
buttonDown.Size = new Size(30, 30);
|
|
buttonDown.TabIndex = 6;
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
buttonDown.Click += buttonMove_Click;
|
|
//
|
|
// comboBoxStrategy
|
|
//
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
comboBoxStrategy.Items.AddRange(new object[] { "Стратегия движения к центру", "Стратегия движения в угол" });
|
|
comboBoxStrategy.Location = new Point(413, 12);
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
|
comboBoxStrategy.Size = new Size(257, 28);
|
|
comboBoxStrategy.TabIndex = 8;
|
|
//
|
|
// StepButton
|
|
//
|
|
StepButton.Location = new Point(576, 46);
|
|
StepButton.Name = "StepButton";
|
|
StepButton.Size = new Size(94, 35);
|
|
StepButton.TabIndex = 10;
|
|
StepButton.Text = "Шаг";
|
|
StepButton.UseVisualStyleBackColor = true;
|
|
StepButton.Click += ButtonStrategyStep_Click;
|
|
//
|
|
// FormHoistingCrane
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(682, 453);
|
|
Controls.Add(StepButton);
|
|
Controls.Add(comboBoxStrategy);
|
|
Controls.Add(buttonDown);
|
|
Controls.Add(buttonRight);
|
|
Controls.Add(buttonUp);
|
|
Controls.Add(buttonLeft);
|
|
Controls.Add(pictureBoxHoistingCrane);
|
|
Controls.Add(pictureBox1);
|
|
Name = "FormHoistingCrane";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "Form1";
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxHoistingCrane).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private PictureBox pictureBox1;
|
|
private PictureBox pictureBoxHoistingCrane;
|
|
private Button buttonLeft;
|
|
private Button buttonUp;
|
|
private Button buttonRight;
|
|
private Button buttonDown;
|
|
private ComboBox comboBoxStrategy;
|
|
private Button StepButton;
|
|
}
|
|
}
|