147 lines
6.1 KiB
C#
147 lines
6.1 KiB
C#
namespace ProjectElectricLocomotive
|
||
{
|
||
partial class FormlectricLocomotive
|
||
{
|
||
/// <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()
|
||
{
|
||
pictureBoxElectricLocomotive = new PictureBox();
|
||
buttonUp = new Button();
|
||
buttonLeft = new Button();
|
||
buttonRight = new Button();
|
||
buttonDown = new Button();
|
||
comboBoxStrategy = new ComboBox();
|
||
buttonStrategyStep = new Button();
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxElectricLocomotive).BeginInit();
|
||
SuspendLayout();
|
||
//
|
||
// pictureBoxElectricLocomotive
|
||
//
|
||
pictureBoxElectricLocomotive.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
pictureBoxElectricLocomotive.BackgroundImageLayout = ImageLayout.Stretch;
|
||
pictureBoxElectricLocomotive.Location = new Point(9, -12);
|
||
pictureBoxElectricLocomotive.Name = "pictureBoxElectricLocomotive";
|
||
pictureBoxElectricLocomotive.Size = new Size(779, 411);
|
||
pictureBoxElectricLocomotive.TabIndex = 0;
|
||
pictureBoxElectricLocomotive.TabStop = false;
|
||
//
|
||
// buttonUp
|
||
//
|
||
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonUp.BackgroundImage = Properties.Resources.UpArrow;
|
||
buttonUp.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonUp.Location = new Point(697, 312);
|
||
buttonUp.Name = "buttonUp";
|
||
buttonUp.Size = new Size(35, 35);
|
||
buttonUp.TabIndex = 2;
|
||
buttonUp.UseVisualStyleBackColor = true;
|
||
buttonUp.Click += ButtonMove_Click;
|
||
//
|
||
// buttonLeft
|
||
//
|
||
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonLeft.BackgroundImage = Properties.Resources.RightArrow__1_;
|
||
buttonLeft.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonLeft.Location = new Point(656, 352);
|
||
buttonLeft.Name = "buttonLeft";
|
||
buttonLeft.Size = new Size(35, 35);
|
||
buttonLeft.TabIndex = 3;
|
||
buttonLeft.UseVisualStyleBackColor = true;
|
||
buttonLeft.Click += ButtonMove_Click;
|
||
//
|
||
// buttonRight
|
||
//
|
||
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonRight.BackgroundImage = Properties.Resources.LeftArrow;
|
||
buttonRight.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonRight.Location = new Point(738, 352);
|
||
buttonRight.Name = "buttonRight";
|
||
buttonRight.Size = new Size(35, 35);
|
||
buttonRight.TabIndex = 4;
|
||
buttonRight.UseVisualStyleBackColor = true;
|
||
buttonRight.Click += ButtonMove_Click;
|
||
//
|
||
// buttonDown
|
||
//
|
||
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
||
buttonDown.BackgroundImage = Properties.Resources.DownArrow;
|
||
buttonDown.BackgroundImageLayout = ImageLayout.Stretch;
|
||
buttonDown.Location = new Point(697, 352);
|
||
buttonDown.Name = "buttonDown";
|
||
buttonDown.Size = new Size(35, 35);
|
||
buttonDown.TabIndex = 5;
|
||
buttonDown.UseVisualStyleBackColor = true;
|
||
buttonDown.Click += ButtonMove_Click;
|
||
//
|
||
// comboBoxStrategy
|
||
//
|
||
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
||
comboBoxStrategy.FormattingEnabled = true;
|
||
comboBoxStrategy.Items.AddRange(new object[] { "К центру", "К краю" });
|
||
comboBoxStrategy.Location = new Point(594, 12);
|
||
comboBoxStrategy.Name = "comboBoxStrategy";
|
||
comboBoxStrategy.Size = new Size(182, 33);
|
||
comboBoxStrategy.TabIndex = 7;
|
||
//
|
||
// buttonStrategyStep
|
||
//
|
||
buttonStrategyStep.Location = new Point(664, 51);
|
||
buttonStrategyStep.Name = "buttonStrategyStep";
|
||
buttonStrategyStep.Size = new Size(112, 34);
|
||
buttonStrategyStep.TabIndex = 8;
|
||
buttonStrategyStep.Text = "Шаг";
|
||
buttonStrategyStep.UseVisualStyleBackColor = true;
|
||
buttonStrategyStep.Click += buttonStrategyStep_Click;
|
||
//
|
||
// FormlectricLocomotive
|
||
//
|
||
AutoScaleDimensions = new SizeF(10F, 25F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(788, 399);
|
||
Controls.Add(buttonStrategyStep);
|
||
Controls.Add(comboBoxStrategy);
|
||
Controls.Add(buttonDown);
|
||
Controls.Add(buttonRight);
|
||
Controls.Add(buttonLeft);
|
||
Controls.Add(buttonUp);
|
||
Controls.Add(pictureBoxElectricLocomotive);
|
||
Name = "FormlectricLocomotive";
|
||
Text = "ЭлектроВоз";
|
||
((System.ComponentModel.ISupportInitialize)pictureBoxElectricLocomotive).EndInit();
|
||
ResumeLayout(false);
|
||
}
|
||
|
||
#endregion
|
||
|
||
private PictureBox pictureBoxElectricLocomotive;
|
||
private Button buttonUp;
|
||
private Button buttonLeft;
|
||
private Button buttonRight;
|
||
private Button buttonDown;
|
||
private ComboBox comboBoxStrategy;
|
||
private Button buttonStrategyStep;
|
||
}
|
||
} |