2023-11-14 14:11:54 +04:00
|
|
|
|
namespace DoubleDeckerbus
|
2023-11-14 13:52:50 +04:00
|
|
|
|
{
|
2023-11-25 14:13:49 +04:00
|
|
|
|
partial class FormDoubleDeckerbus
|
2023-11-14 13:52:50 +04:00
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
2023-11-25 14:13:49 +04:00
|
|
|
|
pictureBoxDoubleDeckerbus = new PictureBox();
|
|
|
|
|
DoubleDeckerbus = new Button();
|
|
|
|
|
buttonUp = new Button();
|
|
|
|
|
buttonLeft = new Button();
|
|
|
|
|
buttonDown = new Button();
|
|
|
|
|
buttonRight = new Button();
|
|
|
|
|
comboBoxStrategy = new ComboBox();
|
|
|
|
|
buttonStep = new Button();
|
|
|
|
|
buttonCreateBus = new Button();
|
|
|
|
|
buttonSelect = new Button();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxDoubleDeckerbus).BeginInit();
|
|
|
|
|
SuspendLayout();
|
2023-11-14 13:52:50 +04:00
|
|
|
|
//
|
2023-11-14 14:11:54 +04:00
|
|
|
|
// pictureBoxDoubleDeckerbus
|
2023-11-14 13:52:50 +04:00
|
|
|
|
//
|
2023-11-25 14:13:49 +04:00
|
|
|
|
pictureBoxDoubleDeckerbus.Dock = DockStyle.Fill;
|
|
|
|
|
pictureBoxDoubleDeckerbus.Location = new Point(0, 0);
|
|
|
|
|
pictureBoxDoubleDeckerbus.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
pictureBoxDoubleDeckerbus.Name = "pictureBoxDoubleDeckerbus";
|
|
|
|
|
pictureBoxDoubleDeckerbus.Size = new Size(772, 340);
|
|
|
|
|
pictureBoxDoubleDeckerbus.TabIndex = 5;
|
|
|
|
|
pictureBoxDoubleDeckerbus.TabStop = false;
|
2023-11-14 13:52:50 +04:00
|
|
|
|
//
|
2023-11-14 14:11:54 +04:00
|
|
|
|
// DoubleDeckerbus
|
2023-11-14 13:52:50 +04:00
|
|
|
|
//
|
2023-11-25 14:13:49 +04:00
|
|
|
|
DoubleDeckerbus.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
DoubleDeckerbus.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
DoubleDeckerbus.Location = new Point(10, 274);
|
|
|
|
|
DoubleDeckerbus.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
DoubleDeckerbus.Name = "DoubleDeckerbus";
|
|
|
|
|
DoubleDeckerbus.Size = new Size(105, 55);
|
|
|
|
|
DoubleDeckerbus.TabIndex = 6;
|
|
|
|
|
DoubleDeckerbus.Text = "Создать Двухэтажный автобус";
|
|
|
|
|
DoubleDeckerbus.UseVisualStyleBackColor = true;
|
|
|
|
|
DoubleDeckerbus.Click += buttonCreateDoubleDeckerbus_Click;
|
2023-11-14 13:52:50 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonUp
|
|
|
|
|
//
|
2023-11-25 14:13:49 +04:00
|
|
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonUp.Location = new Point(710, 283);
|
|
|
|
|
buttonUp.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
buttonUp.Name = "buttonUp";
|
|
|
|
|
buttonUp.Size = new Size(26, 22);
|
|
|
|
|
buttonUp.TabIndex = 7;
|
|
|
|
|
buttonUp.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUp.Click += buttonMove_Click;
|
2023-11-14 13:52:50 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonLeft
|
|
|
|
|
//
|
2023-11-25 14:13:49 +04:00
|
|
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonLeft.Location = new Point(679, 310);
|
|
|
|
|
buttonLeft.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
buttonLeft.Name = "buttonLeft";
|
|
|
|
|
buttonLeft.Size = new Size(26, 22);
|
|
|
|
|
buttonLeft.TabIndex = 8;
|
|
|
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonLeft.Click += buttonMove_Click;
|
2023-11-14 14:11:54 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonDown
|
|
|
|
|
//
|
2023-11-25 14:13:49 +04:00
|
|
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonDown.Location = new Point(710, 310);
|
|
|
|
|
buttonDown.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
buttonDown.Name = "buttonDown";
|
|
|
|
|
buttonDown.Size = new Size(26, 22);
|
|
|
|
|
buttonDown.TabIndex = 9;
|
|
|
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDown.Click += buttonMove_Click;
|
2023-11-14 13:52:50 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonRight
|
|
|
|
|
//
|
2023-11-25 14:13:49 +04:00
|
|
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Zoom;
|
|
|
|
|
buttonRight.Location = new Point(742, 310);
|
|
|
|
|
buttonRight.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
buttonRight.Name = "buttonRight";
|
|
|
|
|
buttonRight.Size = new Size(26, 22);
|
|
|
|
|
buttonRight.TabIndex = 10;
|
|
|
|
|
buttonRight.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRight.Click += buttonMove_Click;
|
2023-11-14 14:11:54 +04:00
|
|
|
|
//
|
|
|
|
|
// comboBoxStrategy
|
|
|
|
|
//
|
2023-11-25 14:13:49 +04:00
|
|
|
|
comboBoxStrategy.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
|
|
|
comboBoxStrategy.Items.AddRange(new object[] { "В центр", "В правый нижний угол" });
|
|
|
|
|
comboBoxStrategy.Location = new Point(629, 9);
|
|
|
|
|
comboBoxStrategy.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
|
|
|
|
comboBoxStrategy.Size = new Size(133, 23);
|
|
|
|
|
comboBoxStrategy.TabIndex = 11;
|
2023-11-14 14:11:54 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonStep
|
|
|
|
|
//
|
2023-11-25 14:13:49 +04:00
|
|
|
|
buttonStep.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonStep.Location = new Point(654, 34);
|
|
|
|
|
buttonStep.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
buttonStep.Name = "buttonStep";
|
|
|
|
|
buttonStep.Size = new Size(82, 22);
|
|
|
|
|
buttonStep.TabIndex = 12;
|
|
|
|
|
buttonStep.Text = "Шаг";
|
|
|
|
|
buttonStep.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonStep.Click += buttonStep_Click;
|
2023-11-14 13:52:50 +04:00
|
|
|
|
//
|
2023-11-14 14:11:54 +04:00
|
|
|
|
// buttonCreateBus
|
|
|
|
|
//
|
2023-11-25 14:13:49 +04:00
|
|
|
|
buttonCreateBus.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
buttonCreateBus.Location = new Point(121, 291);
|
|
|
|
|
buttonCreateBus.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
buttonCreateBus.Name = "buttonCreateBus";
|
|
|
|
|
buttonCreateBus.Size = new Size(105, 38);
|
|
|
|
|
buttonCreateBus.TabIndex = 13;
|
|
|
|
|
buttonCreateBus.Text = "Создать автобус";
|
|
|
|
|
buttonCreateBus.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateBus.Click += buttonCreateBus_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonSelect
|
|
|
|
|
//
|
|
|
|
|
buttonSelect.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
buttonSelect.Location = new Point(239, 274);
|
|
|
|
|
buttonSelect.Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
buttonSelect.Name = "buttonSelect";
|
|
|
|
|
buttonSelect.Size = new Size(105, 55);
|
|
|
|
|
buttonSelect.TabIndex = 14;
|
|
|
|
|
buttonSelect.Text = "Выбрать автобус";
|
|
|
|
|
buttonSelect.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSelect.Click += ButtonSelectBus_Click;
|
2023-11-14 14:11:54 +04:00
|
|
|
|
//
|
|
|
|
|
// FormDoubleDeckerbus
|
2023-11-14 13:52:50 +04:00
|
|
|
|
//
|
2023-11-25 14:13:49 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(772, 340);
|
|
|
|
|
Controls.Add(buttonSelect);
|
|
|
|
|
Controls.Add(buttonCreateBus);
|
|
|
|
|
Controls.Add(buttonStep);
|
|
|
|
|
Controls.Add(comboBoxStrategy);
|
|
|
|
|
Controls.Add(buttonRight);
|
|
|
|
|
Controls.Add(buttonDown);
|
|
|
|
|
Controls.Add(buttonLeft);
|
|
|
|
|
Controls.Add(buttonUp);
|
|
|
|
|
Controls.Add(DoubleDeckerbus);
|
|
|
|
|
Controls.Add(pictureBoxDoubleDeckerbus);
|
|
|
|
|
Margin = new Padding(3, 2, 3, 2);
|
|
|
|
|
Name = "FormDoubleDeckerbus";
|
|
|
|
|
Text = "Автобус";
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxDoubleDeckerbus).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
2023-11-14 13:52:50 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2023-11-14 14:11:54 +04:00
|
|
|
|
private PictureBox pictureBoxDoubleDeckerbus;
|
|
|
|
|
private Button DoubleDeckerbus;
|
2023-11-14 13:52:50 +04:00
|
|
|
|
private Button buttonUp;
|
|
|
|
|
private Button buttonLeft;
|
2023-11-14 14:11:54 +04:00
|
|
|
|
private Button buttonDown;
|
2023-11-14 13:52:50 +04:00
|
|
|
|
private Button buttonRight;
|
2023-11-14 14:11:54 +04:00
|
|
|
|
private ComboBox comboBoxStrategy;
|
|
|
|
|
private Button buttonStep;
|
|
|
|
|
private Button buttonCreateBus;
|
2023-11-25 14:13:49 +04:00
|
|
|
|
private Button buttonSelect;
|
2023-11-14 13:52:50 +04:00
|
|
|
|
}
|
|
|
|
|
}
|