2024-02-29 10:45:00 +04:00
|
|
|
|
namespace ProjectBus
|
|
|
|
|
{
|
|
|
|
|
partial class FormBus
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
pictureBoxBus = new PictureBox();
|
|
|
|
|
buttonCreate = new Button();
|
|
|
|
|
buttonLeft = new Button();
|
|
|
|
|
buttonRight = new Button();
|
|
|
|
|
buttonUp = new Button();
|
|
|
|
|
buttonDown = new Button();
|
2024-04-11 11:18:53 +04:00
|
|
|
|
buttonCreateSimpleBus = new Button();
|
2024-04-18 14:03:03 +04:00
|
|
|
|
comboBoxStrategy = new ComboBox();
|
|
|
|
|
buttonStrategyStep = new Button();
|
2024-02-29 10:45:00 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxBus).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// pictureBoxBus
|
|
|
|
|
//
|
|
|
|
|
pictureBoxBus.Dock = DockStyle.Fill;
|
|
|
|
|
pictureBoxBus.Location = new Point(0, 0);
|
|
|
|
|
pictureBoxBus.Name = "pictureBoxBus";
|
2024-04-11 11:18:53 +04:00
|
|
|
|
pictureBoxBus.Size = new Size(1155, 557);
|
2024-02-29 10:45:00 +04:00
|
|
|
|
pictureBoxBus.TabIndex = 7;
|
|
|
|
|
pictureBoxBus.TabStop = false;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreate
|
|
|
|
|
//
|
|
|
|
|
buttonCreate.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
2024-04-11 11:18:53 +04:00
|
|
|
|
buttonCreate.Location = new Point(12, 501);
|
2024-02-29 10:45:00 +04:00
|
|
|
|
buttonCreate.Name = "buttonCreate";
|
2024-04-11 11:18:53 +04:00
|
|
|
|
buttonCreate.Size = new Size(410, 46);
|
2024-02-29 10:45:00 +04:00
|
|
|
|
buttonCreate.TabIndex = 2;
|
2024-04-11 11:18:53 +04:00
|
|
|
|
buttonCreate.Text = "Создать автобус с доп.отсеком";
|
2024-02-29 10:45:00 +04:00
|
|
|
|
buttonCreate.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreate.Click += ButtonCreate_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonLeft
|
|
|
|
|
//
|
|
|
|
|
buttonLeft.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonLeft.BackgroundImage = Properties.Resources.arrowLeft;
|
|
|
|
|
buttonLeft.BackgroundImageLayout = ImageLayout.Stretch;
|
2024-04-11 11:18:53 +04:00
|
|
|
|
buttonLeft.Location = new Point(981, 495);
|
2024-02-29 10:45:00 +04:00
|
|
|
|
buttonLeft.Name = "buttonLeft";
|
|
|
|
|
buttonLeft.Size = new Size(50, 50);
|
|
|
|
|
buttonLeft.TabIndex = 3;
|
|
|
|
|
buttonLeft.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonLeft.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRight
|
|
|
|
|
//
|
|
|
|
|
buttonRight.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonRight.BackgroundImage = Properties.Resources.arrowRight;
|
|
|
|
|
buttonRight.BackgroundImageLayout = ImageLayout.Stretch;
|
2024-04-11 11:18:53 +04:00
|
|
|
|
buttonRight.Location = new Point(1093, 497);
|
2024-02-29 10:45:00 +04:00
|
|
|
|
buttonRight.Name = "buttonRight";
|
|
|
|
|
buttonRight.Size = new Size(50, 50);
|
|
|
|
|
buttonRight.TabIndex = 4;
|
|
|
|
|
buttonRight.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRight.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonUp
|
|
|
|
|
//
|
|
|
|
|
buttonUp.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonUp.BackgroundImage = Properties.Resources.arrowUp;
|
|
|
|
|
buttonUp.BackgroundImageLayout = ImageLayout.Stretch;
|
2024-04-11 11:18:53 +04:00
|
|
|
|
buttonUp.Location = new Point(1037, 439);
|
2024-02-29 10:45:00 +04:00
|
|
|
|
buttonUp.Name = "buttonUp";
|
|
|
|
|
buttonUp.Size = new Size(50, 50);
|
|
|
|
|
buttonUp.TabIndex = 5;
|
|
|
|
|
buttonUp.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUp.Click += ButtonMove_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonDown
|
|
|
|
|
//
|
|
|
|
|
buttonDown.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
|
|
|
buttonDown.BackgroundImage = Properties.Resources.arrowDown;
|
|
|
|
|
buttonDown.BackgroundImageLayout = ImageLayout.Stretch;
|
2024-04-11 11:18:53 +04:00
|
|
|
|
buttonDown.Location = new Point(1037, 495);
|
2024-02-29 10:45:00 +04:00
|
|
|
|
buttonDown.Name = "buttonDown";
|
|
|
|
|
buttonDown.Size = new Size(50, 50);
|
|
|
|
|
buttonDown.TabIndex = 6;
|
|
|
|
|
buttonDown.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDown.Click += ButtonMove_Click;
|
|
|
|
|
//
|
2024-04-11 11:18:53 +04:00
|
|
|
|
// buttonCreateSimpleBus
|
|
|
|
|
//
|
|
|
|
|
buttonCreateSimpleBus.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
buttonCreateSimpleBus.Location = new Point(428, 501);
|
|
|
|
|
buttonCreateSimpleBus.Name = "buttonCreateSimpleBus";
|
|
|
|
|
buttonCreateSimpleBus.Size = new Size(431, 46);
|
|
|
|
|
buttonCreateSimpleBus.TabIndex = 8;
|
|
|
|
|
buttonCreateSimpleBus.Text = "Создать обычный автобус";
|
|
|
|
|
buttonCreateSimpleBus.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateSimpleBus.Click += buttonCreateSimpleBus_Click;
|
|
|
|
|
//
|
2024-04-18 14:03:03 +04:00
|
|
|
|
// comboBoxStrategy
|
|
|
|
|
//
|
|
|
|
|
comboBoxStrategy.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxStrategy.FormattingEnabled = true;
|
|
|
|
|
comboBoxStrategy.Items.AddRange(new object[] { "К центру", "К краю" });
|
|
|
|
|
comboBoxStrategy.Location = new Point(901, 12);
|
|
|
|
|
comboBoxStrategy.Name = "comboBoxStrategy";
|
|
|
|
|
comboBoxStrategy.Size = new Size(242, 40);
|
|
|
|
|
comboBoxStrategy.TabIndex = 9;
|
|
|
|
|
//
|
|
|
|
|
// buttonStrategyStep
|
|
|
|
|
//
|
|
|
|
|
buttonStrategyStep.Location = new Point(993, 58);
|
|
|
|
|
buttonStrategyStep.Name = "buttonStrategyStep";
|
|
|
|
|
buttonStrategyStep.Size = new Size(150, 46);
|
|
|
|
|
buttonStrategyStep.TabIndex = 10;
|
|
|
|
|
buttonStrategyStep.Text = "Шаг";
|
|
|
|
|
buttonStrategyStep.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonStrategyStep.Click += buttonStrategyStep_Click;
|
|
|
|
|
//
|
2024-02-29 10:45:00 +04:00
|
|
|
|
// FormBus
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(13F, 32F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-04-11 11:18:53 +04:00
|
|
|
|
ClientSize = new Size(1155, 557);
|
2024-04-18 14:03:03 +04:00
|
|
|
|
Controls.Add(buttonStrategyStep);
|
|
|
|
|
Controls.Add(comboBoxStrategy);
|
2024-04-11 11:18:53 +04:00
|
|
|
|
Controls.Add(buttonCreateSimpleBus);
|
2024-02-29 10:45:00 +04:00
|
|
|
|
Controls.Add(buttonDown);
|
|
|
|
|
Controls.Add(buttonUp);
|
|
|
|
|
Controls.Add(buttonRight);
|
|
|
|
|
Controls.Add(buttonLeft);
|
|
|
|
|
Controls.Add(buttonCreate);
|
|
|
|
|
Controls.Add(pictureBoxBus);
|
|
|
|
|
Name = "FormBus";
|
|
|
|
|
Text = "Автобус";
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBoxBus).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
private PictureBox pictureBoxBus;
|
|
|
|
|
private Button buttonCreate;
|
|
|
|
|
private Button buttonLeft;
|
|
|
|
|
private Button buttonRight;
|
|
|
|
|
private Button buttonUp;
|
|
|
|
|
private Button buttonDown;
|
2024-04-11 11:18:53 +04:00
|
|
|
|
private Button buttonCreateSimpleBus;
|
2024-04-18 14:03:03 +04:00
|
|
|
|
private ComboBox comboBoxStrategy;
|
|
|
|
|
private Button buttonStrategyStep;
|
2024-02-29 10:45:00 +04:00
|
|
|
|
}
|
|
|
|
|
}
|