198 lines
8.2 KiB
C#
198 lines
8.2 KiB
C#
namespace Monorail
|
|
{
|
|
partial class FormMonorail
|
|
{
|
|
/// <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()
|
|
{
|
|
pictureBoxMonorail = new PictureBox();
|
|
buttonUp = new Button();
|
|
buttonLeft = new Button();
|
|
buttonDown = new Button();
|
|
buttonRight = new Button();
|
|
ButtonCreateMonorail = new Button();
|
|
ButtonCreateSecondMonorail = new Button();
|
|
buttonStep = new Button();
|
|
comboBoxStrategy = new ComboBox();
|
|
button1 = new Button();
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxMonorail).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// pictureBoxMonorail
|
|
//
|
|
pictureBoxMonorail.Dock = DockStyle.Fill;
|
|
pictureBoxMonorail.Location = new Point(0, 0);
|
|
pictureBoxMonorail.Name = "pictureBoxMonorail";
|
|
pictureBoxMonorail.Size = new Size(882, 453);
|
|
pictureBoxMonorail.SizeMode = PictureBoxSizeMode.AutoSize;
|
|
pictureBoxMonorail.TabIndex = 1;
|
|
pictureBoxMonorail.TabStop = false;
|
|
//
|
|
// buttonUp
|
|
//
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonUp.BackColor = SystemColors.Info;
|
|
buttonUp.BackgroundImage = Properties.Resources.upper_arrow;
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonUp.Location = new Point(784, 355);
|
|
buttonUp.Name = "buttonUp";
|
|
buttonUp.Size = new Size(40, 40);
|
|
buttonUp.TabIndex = 6;
|
|
buttonUp.UseVisualStyleBackColor = false;
|
|
buttonUp.Click += buttonMove_Click;
|
|
//
|
|
// buttonLeft
|
|
//
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonLeft.BackColor = SystemColors.Info;
|
|
buttonLeft.BackgroundImage = Properties.Resources.left_arrow;
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonLeft.Location = new Point(738, 401);
|
|
buttonLeft.Name = "buttonLeft";
|
|
buttonLeft.Size = new Size(40, 40);
|
|
buttonLeft.TabIndex = 10;
|
|
buttonLeft.UseVisualStyleBackColor = false;
|
|
buttonLeft.Click += buttonMove_Click;
|
|
//
|
|
// buttonDown
|
|
//
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonDown.BackColor = SystemColors.Info;
|
|
buttonDown.BackgroundImage = Properties.Resources.down_arrow;
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonDown.Location = new Point(784, 401);
|
|
buttonDown.Name = "buttonDown";
|
|
buttonDown.Size = new Size(40, 40);
|
|
buttonDown.TabIndex = 9;
|
|
buttonDown.UseVisualStyleBackColor = false;
|
|
buttonDown.Click += buttonMove_Click;
|
|
//
|
|
// buttonRight
|
|
//
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonRight.BackColor = SystemColors.Info;
|
|
buttonRight.BackgroundImage = Properties.Resources.right_arrow;
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonRight.Location = new Point(830, 401);
|
|
buttonRight.Name = "buttonRight";
|
|
buttonRight.Size = new Size(40, 40);
|
|
buttonRight.TabIndex = 8;
|
|
buttonRight.UseVisualStyleBackColor = false;
|
|
buttonRight.Click += buttonMove_Click;
|
|
//
|
|
// ButtonCreateMonorail
|
|
//
|
|
ButtonCreateMonorail.BackColor = SystemColors.Info;
|
|
ButtonCreateMonorail.Location = new Point(9, 400);
|
|
ButtonCreateMonorail.Name = "ButtonCreateMonorail";
|
|
ButtonCreateMonorail.Size = new Size(175, 41);
|
|
ButtonCreateMonorail.TabIndex = 22;
|
|
ButtonCreateMonorail.Text = "Создать Монорельс";
|
|
ButtonCreateMonorail.UseVisualStyleBackColor = false;
|
|
ButtonCreateMonorail.Click += ButtonCreateMonorail_Click;
|
|
//
|
|
// ButtonCreateSecondMonorail
|
|
//
|
|
ButtonCreateSecondMonorail.BackColor = SystemColors.Info;
|
|
ButtonCreateSecondMonorail.Location = new Point(202, 400);
|
|
ButtonCreateSecondMonorail.Name = "ButtonCreateSecondMonorail";
|
|
ButtonCreateSecondMonorail.Size = new Size(239, 41);
|
|
ButtonCreateSecondMonorail.TabIndex = 21;
|
|
ButtonCreateSecondMonorail.Text = "Создать два Монорельса";
|
|
ButtonCreateSecondMonorail.UseVisualStyleBackColor = false;
|
|
ButtonCreateSecondMonorail.Click += ButtonCreateSecondMonorail_Click;
|
|
//
|
|
// buttonStep
|
|
//
|
|
buttonStep.BackColor = SystemColors.Info;
|
|
buttonStep.Location = new Point(782, 43);
|
|
buttonStep.Name = "buttonStep";
|
|
buttonStep.Size = new Size(94, 29);
|
|
buttonStep.TabIndex = 20;
|
|
buttonStep.Text = "Шаг";
|
|
buttonStep.UseVisualStyleBackColor = false;
|
|
buttonStep.Click += ButtonStep_Click;
|
|
//
|
|
// comboBoxStrategy
|
|
//
|
|
comboBoxStrategy.BackColor = SystemColors.Info;
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
comboBoxStrategy.Items.AddRange(new object[] { "0", "1" });
|
|
comboBoxStrategy.Location = new Point(725, 9);
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
|
comboBoxStrategy.Size = new Size(151, 28);
|
|
comboBoxStrategy.TabIndex = 19;
|
|
//
|
|
// button1
|
|
//
|
|
button1.BackColor = SystemColors.Info;
|
|
button1.Location = new Point(710, 88);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(166, 40);
|
|
button1.TabIndex = 23;
|
|
button1.Text = "Выбрать Монорельс";
|
|
button1.UseVisualStyleBackColor = false;
|
|
button1.Click += ButtonSelectMonorail_Click;
|
|
//
|
|
// FormMonorail
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
BackColor = SystemColors.ControlDarkDark;
|
|
ClientSize = new Size(882, 453);
|
|
Controls.Add(button1);
|
|
Controls.Add(ButtonCreateMonorail);
|
|
Controls.Add(ButtonCreateSecondMonorail);
|
|
Controls.Add(buttonStep);
|
|
Controls.Add(comboBoxStrategy);
|
|
Controls.Add(buttonLeft);
|
|
Controls.Add(buttonDown);
|
|
Controls.Add(buttonRight);
|
|
Controls.Add(buttonUp);
|
|
Controls.Add(pictureBoxMonorail);
|
|
Name = "FormMonorail";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "Monorail";
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxMonorail).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private PictureBox pictureBoxMonorail;
|
|
private Button buttonUp;
|
|
private Button buttonLeft;
|
|
private Button buttonDown;
|
|
private Button buttonRight;
|
|
private Button ButtonCreateMonorail;
|
|
private Button ButtonCreateSecondMonorail;
|
|
private Button buttonStep;
|
|
private ComboBox comboBoxStrategy;
|
|
private Button button1;
|
|
}
|
|
} |