184 lines
8.2 KiB
C#
184 lines
8.2 KiB
C#
namespace ElectricLocomotive
|
|
{
|
|
partial class ElectricLocomotive
|
|
{
|
|
/// <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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ElectricLocomotive));
|
|
pictureBoxElectroLocomotiv = new PictureBox();
|
|
buttonUp = new Button();
|
|
buttonRight = new Button();
|
|
buttonDown = new Button();
|
|
buttonLeft = new Button();
|
|
buttonCreateElectricLocomotive = new Button();
|
|
buttonCreateLocomotive = new Button();
|
|
comboBoxStrategy = new ComboBox();
|
|
buttonStep = new Button();
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxElectroLocomotiv).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// pictureBoxElectroLocomotiv
|
|
//
|
|
pictureBoxElectroLocomotiv.AccessibleRole = AccessibleRole.Client;
|
|
pictureBoxElectroLocomotiv.Dock = DockStyle.Fill;
|
|
pictureBoxElectroLocomotiv.Location = new Point(0, 0);
|
|
pictureBoxElectroLocomotiv.Name = "pictureBoxElectroLocomotiv";
|
|
pictureBoxElectroLocomotiv.Size = new Size(854, 467);
|
|
pictureBoxElectroLocomotiv.SizeMode = PictureBoxSizeMode.AutoSize;
|
|
pictureBoxElectroLocomotiv.TabIndex = 5;
|
|
pictureBoxElectroLocomotiv.TabStop = false;
|
|
|
|
//
|
|
// buttonUp
|
|
//
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonUp.BackgroundImage = (Image)resources.GetObject("buttonUp.BackgroundImage");
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonUp.Location = new Point(777, 389);
|
|
buttonUp.Name = "buttonUp";
|
|
buttonUp.Size = new Size(30, 30);
|
|
buttonUp.TabIndex = 10;
|
|
buttonUp.UseVisualStyleBackColor = true;
|
|
buttonUp.Click += buttonMove_Click;
|
|
//
|
|
// buttonRight
|
|
//
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonRight.BackgroundImage = (Image)resources.GetObject("buttonRight.BackgroundImage");
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonRight.Location = new Point(813, 425);
|
|
buttonRight.Name = "buttonRight";
|
|
buttonRight.Size = new Size(30, 30);
|
|
buttonRight.TabIndex = 9;
|
|
buttonRight.UseVisualStyleBackColor = true;
|
|
buttonRight.Click += buttonMove_Click;
|
|
//
|
|
// buttonDown
|
|
//
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonDown.BackgroundImage = (Image)resources.GetObject("buttonDown.BackgroundImage");
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonDown.Location = new Point(777, 425);
|
|
buttonDown.Name = "buttonDown";
|
|
buttonDown.Size = new Size(30, 30);
|
|
buttonDown.TabIndex = 8;
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
buttonDown.Click += buttonMove_Click;
|
|
//
|
|
// buttonLeft
|
|
//
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonLeft.BackgroundImage = (Image)resources.GetObject("buttonLeft.BackgroundImage");
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
|
buttonLeft.Location = new Point(741, 425);
|
|
buttonLeft.Name = "buttonLeft";
|
|
buttonLeft.Size = new Size(30, 30);
|
|
buttonLeft.TabIndex = 7;
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
|
buttonLeft.Click += buttonMove_Click;
|
|
//
|
|
// buttonCreateElectricLocomotive
|
|
//
|
|
buttonCreateElectricLocomotive.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
buttonCreateElectricLocomotive.Location = new Point(13, 425);
|
|
buttonCreateElectricLocomotive.Name = "buttonCreateElectricLocomotive";
|
|
buttonCreateElectricLocomotive.Size = new Size(208, 34);
|
|
buttonCreateElectricLocomotive.TabIndex = 6;
|
|
buttonCreateElectricLocomotive.Text = "Создать Электролокомотив";
|
|
buttonCreateElectricLocomotive.UseVisualStyleBackColor = true;
|
|
buttonCreateElectricLocomotive.Click += buttonCreateElectricLocomotive_Click;
|
|
//
|
|
// buttonCreateLocomotive
|
|
//
|
|
buttonCreateLocomotive.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
buttonCreateLocomotive.Location = new Point(227, 425);
|
|
buttonCreateLocomotive.Name = "buttonCreateLocomotive";
|
|
buttonCreateLocomotive.Size = new Size(197, 34);
|
|
buttonCreateLocomotive.TabIndex = 11;
|
|
buttonCreateLocomotive.Text = "Создать локомотив";
|
|
buttonCreateLocomotive.UseVisualStyleBackColor = true;
|
|
buttonCreateLocomotive.Click += buttonCreateLocomotive_Click;
|
|
//
|
|
// comboBoxStrategy
|
|
//
|
|
comboBoxStrategy.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
comboBoxStrategy.Items.AddRange(new object[] { "MoveToCenter", "MoveToRightCorner" });
|
|
comboBoxStrategy.Location = new Point(730, 11);
|
|
comboBoxStrategy.Margin = new Padding(2);
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
|
comboBoxStrategy.Size = new Size(113, 23);
|
|
comboBoxStrategy.TabIndex = 12;
|
|
//
|
|
// buttonStep
|
|
//
|
|
buttonStep.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
buttonStep.Font = new Font("Candara Light", 10F, FontStyle.Regular, GraphicsUnit.Point);
|
|
buttonStep.Location = new Point(741, 49);
|
|
buttonStep.Margin = new Padding(2);
|
|
buttonStep.Name = "buttonStep";
|
|
buttonStep.Size = new Size(88, 34);
|
|
buttonStep.TabIndex = 13;
|
|
buttonStep.Text = "Шаг";
|
|
buttonStep.UseVisualStyleBackColor = true;
|
|
buttonStep.Click += buttonStep_Click;
|
|
//
|
|
// ElectricLocomotive
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(854, 467);
|
|
Controls.Add(buttonStep);
|
|
Controls.Add(comboBoxStrategy);
|
|
Controls.Add(buttonCreateLocomotive);
|
|
Controls.Add(buttonUp);
|
|
Controls.Add(buttonRight);
|
|
Controls.Add(buttonDown);
|
|
Controls.Add(buttonLeft);
|
|
Controls.Add(buttonCreateElectricLocomotive);
|
|
Controls.Add(pictureBoxElectroLocomotiv);
|
|
Name = "ElectricLocomotive";
|
|
Text = "ElectricLocomotive";
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxElectroLocomotiv).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private PictureBox pictureBoxElectroLocomotiv;
|
|
private Button buttonUp;
|
|
private Button buttonRight;
|
|
private Button buttonDown;
|
|
private Button buttonLeft;
|
|
private Button buttonCreateElectricLocomotive;
|
|
private Button buttonCreateLocomotive;
|
|
private ComboBox comboBoxStrategy;
|
|
private Button buttonStep;
|
|
}
|
|
} |