PIbd-23_Vrazhkin_S_A_Electr.../lab1/MainForm.Designer.cs

170 lines
6.7 KiB
C#
Raw Permalink Normal View History

2023-09-19 19:04:33 +04:00
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();
2023-10-03 11:53:51 +04:00
paintLocoButton = new Button();
paintElectricLocoButton = new Button();
movesBox = new ComboBox();
moveButton = new Button();
2023-09-19 19:04:33 +04:00
((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;
2023-10-03 11:53:51 +04:00
moveRightButton.Click += MoveSideButton_Click;
2023-09-19 19:04:33 +04:00
//
// 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;
2023-10-03 11:53:51 +04:00
moveDownButton.Click += MoveSideButton_Click;
2023-09-19 19:04:33 +04:00
//
// 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;
2023-10-03 11:53:51 +04:00
moveLeftButton.Click += MoveSideButton_Click;
2023-09-19 19:04:33 +04:00
//
// 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;
2023-10-03 11:53:51 +04:00
moveUpButton.Click += MoveSideButton_Click;
2023-09-19 19:04:33 +04:00
//
2023-10-03 11:53:51 +04:00
// paintLocoButton
2023-09-19 19:04:33 +04:00
//
2023-10-03 11:53:51 +04:00
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;
2023-09-19 19:04:33 +04:00
//
// MainForm
//
AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(1265, 731);
2023-10-03 11:53:51 +04:00
Controls.Add(moveButton);
Controls.Add(movesBox);
Controls.Add(paintElectricLocoButton);
2023-09-19 19:04:33 +04:00
Controls.Add(moveRightButton);
Controls.Add(moveDownButton);
Controls.Add(moveLeftButton);
Controls.Add(moveUpButton);
2023-10-03 11:53:51 +04:00
Controls.Add(paintLocoButton);
2023-09-19 19:04:33 +04:00
Controls.Add(locoBox);
FormBorderStyle = FormBorderStyle.FixedSingle;
Name = "MainForm";
StartPosition = FormStartPosition.CenterScreen;
Text = "Лабораторная работа 1";
((System.ComponentModel.ISupportInitialize)locoBox).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion
2023-10-03 11:53:51 +04:00
private Button paintLocoButton;
2023-09-19 19:04:33 +04:00
private Button moveRightButton;
private Button moveDownButton;
private Button moveLeftButton;
private Button moveUpButton;
private PictureBox locoBox;
2023-10-03 11:53:51 +04:00
private Button paintElectricLocoButton;
private ComboBox movesBox;
private Button moveButton;
2023-09-19 19:04:33 +04:00
}
}