177 lines
7.5 KiB
C#
177 lines
7.5 KiB
C#
using static System.Net.Mime.MediaTypeNames;
|
|
using System.Windows.Forms;
|
|
using System.Xml.Linq;
|
|
|
|
namespace ProjectElectroTrans
|
|
{
|
|
partial class FormTransCollection
|
|
{
|
|
/// <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()
|
|
{
|
|
groupBoxTools = new GroupBox();
|
|
buttonRefresh = new Button();
|
|
buttonGoToCheck = new Button();
|
|
buttonRemoveCar = new Button();
|
|
maskedTextBoxPosition = new MaskedTextBox();
|
|
buttonAddSportCar = new Button();
|
|
buttonAddCar = new Button();
|
|
comboBoxSelectorCompany = new ComboBox();
|
|
pictureBox = new PictureBox();
|
|
groupBoxTools.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// groupBoxTools
|
|
//
|
|
groupBoxTools.Controls.Add(buttonRefresh);
|
|
groupBoxTools.Controls.Add(buttonGoToCheck);
|
|
groupBoxTools.Controls.Add(buttonRemoveCar);
|
|
groupBoxTools.Controls.Add(maskedTextBoxPosition);
|
|
groupBoxTools.Controls.Add(buttonAddSportCar);
|
|
groupBoxTools.Controls.Add(buttonAddCar);
|
|
groupBoxTools.Controls.Add(comboBoxSelectorCompany);
|
|
groupBoxTools.Dock = DockStyle.Right;
|
|
groupBoxTools.Location = new Point(783, 0);
|
|
groupBoxTools.Name = "groupBoxTools";
|
|
groupBoxTools.Size = new Size(179, 616);
|
|
groupBoxTools.TabIndex = 0;
|
|
groupBoxTools.TabStop = false;
|
|
groupBoxTools.Text = "Инструменты";
|
|
//
|
|
// buttonRefresh
|
|
//
|
|
buttonRefresh.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
buttonRefresh.Location = new Point(6, 499);
|
|
buttonRefresh.Name = "buttonRefresh";
|
|
buttonRefresh.Size = new Size(167, 40);
|
|
buttonRefresh.TabIndex = 6;
|
|
buttonRefresh.Text = "Обновить";
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
buttonRefresh.Click += ButtonRefresh_Click;
|
|
//
|
|
// buttonGoToCheck
|
|
//
|
|
buttonGoToCheck.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
buttonGoToCheck.Location = new Point(6, 361);
|
|
buttonGoToCheck.Name = "buttonGoToCheck";
|
|
buttonGoToCheck.Size = new Size(167, 40);
|
|
buttonGoToCheck.TabIndex = 5;
|
|
buttonGoToCheck.Text = "Передать на тесты";
|
|
buttonGoToCheck.UseVisualStyleBackColor = true;
|
|
buttonGoToCheck.Click += ButtonGoToCheck_Click;
|
|
//
|
|
// buttonRemoveCar
|
|
//
|
|
buttonRemoveCar.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
buttonRemoveCar.Location = new Point(6, 251);
|
|
buttonRemoveCar.Name = "buttonRemoveTrans";
|
|
buttonRemoveCar.Size = new Size(167, 40);
|
|
buttonRemoveCar.TabIndex = 4;
|
|
buttonRemoveCar.Text = "Удалить поезд";
|
|
buttonRemoveCar.UseVisualStyleBackColor = true;
|
|
buttonRemoveCar.Click += ButtonRemoveTrans_Click;
|
|
//
|
|
// maskedTextBoxPosition
|
|
//
|
|
maskedTextBoxPosition.Location = new Point(6, 222);
|
|
maskedTextBoxPosition.Mask = "00";
|
|
maskedTextBoxPosition.Name = "maskedTextBoxPosition";
|
|
maskedTextBoxPosition.Size = new Size(167, 23);
|
|
maskedTextBoxPosition.TabIndex = 3;
|
|
maskedTextBoxPosition.ValidatingType = typeof(int);
|
|
//
|
|
// buttonAddSportCar
|
|
//
|
|
buttonAddSportCar.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
buttonAddSportCar.Location = new Point(6, 137);
|
|
buttonAddSportCar.Name = "buttonAddSportCar";
|
|
buttonAddSportCar.Size = new Size(167, 40);
|
|
buttonAddSportCar.TabIndex = 2;
|
|
buttonAddSportCar.Text = "Добавление спортивного поезда";
|
|
buttonAddSportCar.UseVisualStyleBackColor = true;
|
|
buttonAddSportCar.Click += ButtonAddElectroTrans_Click;
|
|
//
|
|
// buttonAddCar
|
|
//
|
|
buttonAddCar.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
buttonAddCar.Location = new Point(6, 91);
|
|
buttonAddCar.Name = "buttonAddCar";
|
|
buttonAddCar.Size = new Size(167, 40);
|
|
buttonAddCar.TabIndex = 1;
|
|
buttonAddCar.Text = "Добавление поезда";
|
|
buttonAddCar.UseVisualStyleBackColor = true;
|
|
buttonAddCar.Click += ButtonAddTrans_Click;
|
|
//
|
|
// comboBoxSelectorCompany
|
|
//
|
|
comboBoxSelectorCompany.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
comboBoxSelectorCompany.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxSelectorCompany.FormattingEnabled = true;
|
|
comboBoxSelectorCompany.Items.AddRange(new object[] { "Хранилище" });
|
|
comboBoxSelectorCompany.Location = new Point(6, 22);
|
|
comboBoxSelectorCompany.Name = "comboBoxSelectorCompany";
|
|
comboBoxSelectorCompany.Size = new Size(167, 23);
|
|
comboBoxSelectorCompany.TabIndex = 0;
|
|
comboBoxSelectorCompany.SelectedIndexChanged += ComboBoxSelectorCompany_SelectedIndexChanged;
|
|
//
|
|
// pictureBox
|
|
//
|
|
pictureBox.Dock = DockStyle.Fill;
|
|
pictureBox.Location = new Point(0, 0);
|
|
pictureBox.Name = "pictureBox";
|
|
pictureBox.Size = new Size(783, 616);
|
|
pictureBox.TabIndex = 1;
|
|
pictureBox.TabStop = false;
|
|
//
|
|
// FormCarCollection
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(962, 616);
|
|
Controls.Add(pictureBox);
|
|
Controls.Add(groupBoxTools);
|
|
Name = "FormCarCollection";
|
|
Text = "Коллекция автомобилей";
|
|
groupBoxTools.ResumeLayout(false);
|
|
groupBoxTools.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private GroupBox groupBoxTools;
|
|
private ComboBox comboBoxSelectorCompany;
|
|
private Button buttonAddSportCar;
|
|
private Button buttonAddCar;
|
|
private Button buttonRemoveCar;
|
|
private MaskedTextBox maskedTextBoxPosition;
|
|
private PictureBox pictureBox;
|
|
private Button buttonGoToCheck;
|
|
private Button buttonRefresh;
|
|
}
|
|
} |