132 lines
5.0 KiB
C#
132 lines
5.0 KiB
C#
|
namespace ElectricLocomotive
|
|||
|
{
|
|||
|
partial class MainForm
|
|||
|
{
|
|||
|
/// <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();
|
|||
|
paintObjectButton = 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 += MoveButton_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 += MoveButton_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 += MoveButton_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 += MoveButton_Click;
|
|||
|
//
|
|||
|
// paintObjectButton
|
|||
|
//
|
|||
|
paintObjectButton.Location = new Point(36, 643);
|
|||
|
paintObjectButton.Name = "paintObjectButton";
|
|||
|
paintObjectButton.Size = new Size(161, 68);
|
|||
|
paintObjectButton.TabIndex = 0;
|
|||
|
paintObjectButton.Text = "Нарисовать";
|
|||
|
paintObjectButton.UseVisualStyleBackColor = true;
|
|||
|
paintObjectButton.Click += PaintObjectButton_click;
|
|||
|
//
|
|||
|
// MainForm
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(1265, 731);
|
|||
|
Controls.Add(moveRightButton);
|
|||
|
Controls.Add(moveDownButton);
|
|||
|
Controls.Add(moveLeftButton);
|
|||
|
Controls.Add(moveUpButton);
|
|||
|
Controls.Add(paintObjectButton);
|
|||
|
Controls.Add(locoBox);
|
|||
|
FormBorderStyle = FormBorderStyle.FixedSingle;
|
|||
|
Name = "MainForm";
|
|||
|
StartPosition = FormStartPosition.CenterScreen;
|
|||
|
Text = "Лабораторная работа 1";
|
|||
|
((System.ComponentModel.ISupportInitialize)locoBox).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
private Button paintObjectButton;
|
|||
|
private Button moveRightButton;
|
|||
|
private Button moveDownButton;
|
|||
|
private Button moveLeftButton;
|
|||
|
private Button moveUpButton;
|
|||
|
private PictureBox locoBox;
|
|||
|
}
|
|||
|
}
|