178 lines
7.2 KiB
C#
178 lines
7.2 KiB
C#
namespace ElectricLocomotive {
|
|
partial class FormLocomotiv {
|
|
/// <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() {
|
|
locoBox = new PictureBox();
|
|
moveRightButton = new Button();
|
|
moveDownButton = new Button();
|
|
moveLeftButton = new Button();
|
|
moveUpButton = new Button();
|
|
paintLocoButton = new Button();
|
|
paintElectricLocoButton = new Button();
|
|
movesBox = new ComboBox();
|
|
moveButton = new Button();
|
|
selectLocoButton = new Button();
|
|
((System.ComponentModel.ISupportInitialize)locoBox).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// locoBox
|
|
//
|
|
locoBox.Dock = DockStyle.Fill;
|
|
locoBox.Location = new Point(0, 0);
|
|
locoBox.Name = "locoBox";
|
|
locoBox.Size = new Size(1265, 731);
|
|
locoBox.SizeMode = PictureBoxSizeMode.AutoSize;
|
|
locoBox.TabIndex = 0;
|
|
locoBox.TabStop = false;
|
|
//
|
|
// moveRightButton
|
|
//
|
|
moveRightButton.Location = new Point(1168, 647);
|
|
moveRightButton.Margin = new Padding(0);
|
|
moveRightButton.Name = "moveRightButton";
|
|
moveRightButton.Size = new Size(76, 60);
|
|
moveRightButton.TabIndex = 4;
|
|
moveRightButton.Text = "Вправо";
|
|
moveRightButton.UseVisualStyleBackColor = true;
|
|
moveRightButton.Click += MoveSideButton_Click;
|
|
//
|
|
// moveDownButton
|
|
//
|
|
moveDownButton.Location = new Point(1083, 647);
|
|
moveDownButton.Margin = new Padding(0);
|
|
moveDownButton.Name = "moveDownButton";
|
|
moveDownButton.Size = new Size(76, 60);
|
|
moveDownButton.TabIndex = 3;
|
|
moveDownButton.Text = "Вниз";
|
|
moveDownButton.UseVisualStyleBackColor = true;
|
|
moveDownButton.Click += MoveSideButton_Click;
|
|
//
|
|
// moveLeftButton
|
|
//
|
|
moveLeftButton.Location = new Point(997, 647);
|
|
moveLeftButton.Margin = new Padding(0);
|
|
moveLeftButton.Name = "moveLeftButton";
|
|
moveLeftButton.Size = new Size(76, 60);
|
|
moveLeftButton.TabIndex = 2;
|
|
moveLeftButton.Text = "Влево";
|
|
moveLeftButton.UseVisualStyleBackColor = true;
|
|
moveLeftButton.Click += MoveSideButton_Click;
|
|
//
|
|
// moveUpButton
|
|
//
|
|
moveUpButton.Location = new Point(1083, 571);
|
|
moveUpButton.Margin = new Padding(0);
|
|
moveUpButton.Name = "moveUpButton";
|
|
moveUpButton.Size = new Size(76, 60);
|
|
moveUpButton.TabIndex = 1;
|
|
moveUpButton.Text = "Вверх";
|
|
moveUpButton.UseVisualStyleBackColor = true;
|
|
moveUpButton.Click += MoveSideButton_Click;
|
|
//
|
|
// paintLocoButton
|
|
//
|
|
paintLocoButton.Location = new Point(36, 643);
|
|
paintLocoButton.Name = "paintLocoButton";
|
|
paintLocoButton.Size = new Size(179, 68);
|
|
paintLocoButton.TabIndex = 0;
|
|
paintLocoButton.Text = "Нарисовать локомотив";
|
|
paintLocoButton.UseVisualStyleBackColor = true;
|
|
paintLocoButton.Click += PaintLocoButton_click;
|
|
//
|
|
// paintElectricLocoButton
|
|
//
|
|
paintElectricLocoButton.Location = new Point(250, 647);
|
|
paintElectricLocoButton.Name = "paintElectricLocoButton";
|
|
paintElectricLocoButton.Size = new Size(189, 64);
|
|
paintElectricLocoButton.TabIndex = 5;
|
|
paintElectricLocoButton.Text = "Нарисовать электровоз";
|
|
paintElectricLocoButton.UseVisualStyleBackColor = true;
|
|
paintElectricLocoButton.Click += PaintElectricLocoButton_click;
|
|
//
|
|
// movesBox
|
|
//
|
|
movesBox.FormattingEnabled = true;
|
|
movesBox.Items.AddRange(new object[] { "Довести до края", "Довести до центра" });
|
|
movesBox.Location = new Point(1093, 12);
|
|
movesBox.Name = "movesBox";
|
|
movesBox.Size = new Size(151, 28);
|
|
movesBox.TabIndex = 6;
|
|
//
|
|
// moveButton
|
|
//
|
|
moveButton.Location = new Point(1093, 58);
|
|
moveButton.Name = "moveButton";
|
|
moveButton.Size = new Size(151, 29);
|
|
moveButton.TabIndex = 7;
|
|
moveButton.Text = "Шаг";
|
|
moveButton.UseVisualStyleBackColor = true;
|
|
moveButton.Click += MoveButton_Click;
|
|
//
|
|
// selectLocoButton
|
|
//
|
|
selectLocoButton.Location = new Point(491, 647);
|
|
selectLocoButton.Name = "selectLocoButton";
|
|
selectLocoButton.Size = new Size(198, 64);
|
|
selectLocoButton.TabIndex = 8;
|
|
selectLocoButton.Text = "Выбрать локомотив";
|
|
selectLocoButton.UseVisualStyleBackColor = true;
|
|
selectLocoButton.Click += selectLocoButton_Click;
|
|
//
|
|
// FormLocomotiv
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1265, 731);
|
|
Controls.Add(selectLocoButton);
|
|
Controls.Add(moveButton);
|
|
Controls.Add(movesBox);
|
|
Controls.Add(paintElectricLocoButton);
|
|
Controls.Add(moveRightButton);
|
|
Controls.Add(moveDownButton);
|
|
Controls.Add(moveLeftButton);
|
|
Controls.Add(moveUpButton);
|
|
Controls.Add(paintLocoButton);
|
|
Controls.Add(locoBox);
|
|
FormBorderStyle = FormBorderStyle.FixedSingle;
|
|
Name = "FormLocomotiv";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "Лабораторная работа 1";
|
|
((System.ComponentModel.ISupportInitialize)locoBox).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
private Button paintLocoButton;
|
|
private Button moveRightButton;
|
|
private Button moveDownButton;
|
|
private Button moveLeftButton;
|
|
private Button moveUpButton;
|
|
private PictureBox locoBox;
|
|
private Button paintElectricLocoButton;
|
|
private ComboBox movesBox;
|
|
private Button moveButton;
|
|
private Button selectLocoButton;
|
|
}
|
|
} |