2024-03-14 14:26:53 +04:00
|
|
|
|
namespace ProjectElectricLocomotive
|
|
|
|
|
{
|
|
|
|
|
partial class FormLocomotiveCollection
|
|
|
|
|
{
|
|
|
|
|
/// <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();
|
2024-03-28 09:57:08 +04:00
|
|
|
|
buttonCreateCompany = new Button();
|
|
|
|
|
labelCollectionName = new Label();
|
|
|
|
|
panelStorage = new Panel();
|
|
|
|
|
buttonCollectionDel = new Button();
|
|
|
|
|
listBoxCollection = new ListBox();
|
|
|
|
|
buttonCollectionAdd = new Button();
|
|
|
|
|
radioButtonList = new RadioButton();
|
|
|
|
|
radioButtonMassive = new RadioButton();
|
|
|
|
|
textBoxCollectionName = new TextBox();
|
2024-03-14 14:26:53 +04:00
|
|
|
|
buttonRefresh = new Button();
|
|
|
|
|
buttonGoToCheck = new Button();
|
|
|
|
|
buttonDelLocomotive = new Button();
|
|
|
|
|
maskedTextBox = new MaskedTextBox();
|
|
|
|
|
buttonAddElectricLocomotive = new Button();
|
|
|
|
|
buttonAddLocomotive = new Button();
|
|
|
|
|
comboBoxSelectorCompany = new ComboBox();
|
|
|
|
|
pictureBox = new PictureBox();
|
2024-03-28 09:57:08 +04:00
|
|
|
|
panelCompanyTools = new Panel();
|
2024-03-14 14:26:53 +04:00
|
|
|
|
groupBoxTools.SuspendLayout();
|
2024-03-28 09:57:08 +04:00
|
|
|
|
panelStorage.SuspendLayout();
|
2024-03-14 14:26:53 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox).BeginInit();
|
2024-03-28 09:57:08 +04:00
|
|
|
|
panelCompanyTools.SuspendLayout();
|
2024-03-14 14:26:53 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// groupBoxTools
|
|
|
|
|
//
|
2024-03-28 09:57:08 +04:00
|
|
|
|
groupBoxTools.Controls.Add(panelCompanyTools);
|
|
|
|
|
groupBoxTools.Controls.Add(buttonCreateCompany);
|
|
|
|
|
groupBoxTools.Controls.Add(labelCollectionName);
|
|
|
|
|
groupBoxTools.Controls.Add(panelStorage);
|
2024-03-14 14:26:53 +04:00
|
|
|
|
groupBoxTools.Controls.Add(comboBoxSelectorCompany);
|
|
|
|
|
groupBoxTools.Dock = DockStyle.Right;
|
2024-03-28 09:57:08 +04:00
|
|
|
|
groupBoxTools.Location = new Point(589, 0);
|
2024-03-14 14:26:53 +04:00
|
|
|
|
groupBoxTools.Name = "groupBoxTools";
|
2024-03-28 09:57:08 +04:00
|
|
|
|
groupBoxTools.Size = new Size(503, 450);
|
2024-03-14 14:26:53 +04:00
|
|
|
|
groupBoxTools.TabIndex = 0;
|
|
|
|
|
groupBoxTools.TabStop = false;
|
|
|
|
|
groupBoxTools.Text = "Инструменты";
|
|
|
|
|
//
|
2024-03-28 09:57:08 +04:00
|
|
|
|
// buttonCreateCompany
|
|
|
|
|
//
|
|
|
|
|
buttonCreateCompany.Location = new Point(223, 375);
|
|
|
|
|
buttonCreateCompany.Name = "buttonCreateCompany";
|
|
|
|
|
buttonCreateCompany.Size = new Size(246, 34);
|
|
|
|
|
buttonCreateCompany.TabIndex = 10;
|
|
|
|
|
buttonCreateCompany.Text = "Создать компанию";
|
|
|
|
|
buttonCreateCompany.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateCompany.Click += buttonCreateCompany_Click;
|
|
|
|
|
//
|
|
|
|
|
// labelCollectionName
|
|
|
|
|
//
|
|
|
|
|
labelCollectionName.AutoSize = true;
|
|
|
|
|
labelCollectionName.Location = new Point(242, 9);
|
|
|
|
|
labelCollectionName.Name = "labelCollectionName";
|
|
|
|
|
labelCollectionName.Size = new Size(182, 25);
|
|
|
|
|
labelCollectionName.TabIndex = 0;
|
|
|
|
|
labelCollectionName.Text = "Название коллекции";
|
|
|
|
|
//
|
|
|
|
|
// panelStorage
|
|
|
|
|
//
|
|
|
|
|
panelStorage.Controls.Add(buttonCollectionDel);
|
|
|
|
|
panelStorage.Controls.Add(listBoxCollection);
|
|
|
|
|
panelStorage.Controls.Add(buttonCollectionAdd);
|
|
|
|
|
panelStorage.Controls.Add(radioButtonList);
|
|
|
|
|
panelStorage.Controls.Add(radioButtonMassive);
|
|
|
|
|
panelStorage.Controls.Add(textBoxCollectionName);
|
|
|
|
|
panelStorage.Location = new Point(220, 30);
|
|
|
|
|
panelStorage.Name = "panelStorage";
|
|
|
|
|
panelStorage.Size = new Size(254, 300);
|
|
|
|
|
panelStorage.TabIndex = 8;
|
|
|
|
|
//
|
|
|
|
|
// buttonCollectionDel
|
|
|
|
|
//
|
|
|
|
|
buttonCollectionDel.Location = new Point(3, 254);
|
|
|
|
|
buttonCollectionDel.Name = "buttonCollectionDel";
|
|
|
|
|
buttonCollectionDel.Size = new Size(246, 34);
|
|
|
|
|
buttonCollectionDel.TabIndex = 13;
|
|
|
|
|
buttonCollectionDel.Text = "Удалить коллекцию";
|
|
|
|
|
buttonCollectionDel.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCollectionDel.Click += buttonCollectionDel_Click;
|
|
|
|
|
//
|
|
|
|
|
// listBoxCollection
|
|
|
|
|
//
|
|
|
|
|
listBoxCollection.FormattingEnabled = true;
|
|
|
|
|
listBoxCollection.ItemHeight = 25;
|
|
|
|
|
listBoxCollection.Location = new Point(3, 119);
|
|
|
|
|
listBoxCollection.Name = "listBoxCollection";
|
|
|
|
|
listBoxCollection.Size = new Size(246, 129);
|
|
|
|
|
listBoxCollection.TabIndex = 12;
|
|
|
|
|
//
|
|
|
|
|
// buttonCollectionAdd
|
|
|
|
|
//
|
|
|
|
|
buttonCollectionAdd.Location = new Point(3, 79);
|
|
|
|
|
buttonCollectionAdd.Name = "buttonCollectionAdd";
|
|
|
|
|
buttonCollectionAdd.Size = new Size(246, 34);
|
|
|
|
|
buttonCollectionAdd.TabIndex = 9;
|
|
|
|
|
buttonCollectionAdd.Text = "Добавить коллекцию";
|
|
|
|
|
buttonCollectionAdd.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCollectionAdd.Click += buttonCollectionAdd_Click;
|
|
|
|
|
//
|
|
|
|
|
// radioButtonList
|
|
|
|
|
//
|
|
|
|
|
radioButtonList.AutoSize = true;
|
|
|
|
|
radioButtonList.Location = new Point(120, 44);
|
|
|
|
|
radioButtonList.Name = "radioButtonList";
|
|
|
|
|
radioButtonList.Size = new Size(96, 29);
|
|
|
|
|
radioButtonList.TabIndex = 11;
|
|
|
|
|
radioButtonList.TabStop = true;
|
|
|
|
|
radioButtonList.Text = "Список";
|
|
|
|
|
radioButtonList.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// radioButtonMassive
|
|
|
|
|
//
|
|
|
|
|
radioButtonMassive.AutoSize = true;
|
|
|
|
|
radioButtonMassive.Location = new Point(3, 44);
|
|
|
|
|
radioButtonMassive.Name = "radioButtonMassive";
|
|
|
|
|
radioButtonMassive.Size = new Size(98, 29);
|
|
|
|
|
radioButtonMassive.TabIndex = 10;
|
|
|
|
|
radioButtonMassive.TabStop = true;
|
|
|
|
|
radioButtonMassive.Text = "Массив";
|
|
|
|
|
radioButtonMassive.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// textBoxCollectionName
|
|
|
|
|
//
|
|
|
|
|
textBoxCollectionName.Location = new Point(3, 7);
|
|
|
|
|
textBoxCollectionName.Name = "textBoxCollectionName";
|
|
|
|
|
textBoxCollectionName.Size = new Size(246, 31);
|
|
|
|
|
textBoxCollectionName.TabIndex = 9;
|
|
|
|
|
//
|
2024-03-14 14:26:53 +04:00
|
|
|
|
// buttonRefresh
|
|
|
|
|
//
|
2024-03-28 09:57:08 +04:00
|
|
|
|
buttonRefresh.Location = new Point(12, 297);
|
2024-03-14 14:26:53 +04:00
|
|
|
|
buttonRefresh.Name = "buttonRefresh";
|
|
|
|
|
buttonRefresh.Size = new Size(193, 39);
|
|
|
|
|
buttonRefresh.TabIndex = 7;
|
|
|
|
|
buttonRefresh.Text = "Обновить";
|
|
|
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRefresh.Click += buttonRefresh_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonGoToCheck
|
|
|
|
|
//
|
2024-03-28 09:57:08 +04:00
|
|
|
|
buttonGoToCheck.Location = new Point(12, 252);
|
2024-03-14 14:26:53 +04:00
|
|
|
|
buttonGoToCheck.Name = "buttonGoToCheck";
|
|
|
|
|
buttonGoToCheck.Size = new Size(193, 39);
|
|
|
|
|
buttonGoToCheck.TabIndex = 6;
|
|
|
|
|
buttonGoToCheck.Text = "Передать на тесты";
|
|
|
|
|
buttonGoToCheck.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonGoToCheck.Click += buttonGoToCheck_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonDelLocomotive
|
|
|
|
|
//
|
2024-03-28 09:57:08 +04:00
|
|
|
|
buttonDelLocomotive.Location = new Point(12, 183);
|
2024-03-14 14:26:53 +04:00
|
|
|
|
buttonDelLocomotive.Name = "buttonDelLocomotive";
|
|
|
|
|
buttonDelLocomotive.Size = new Size(193, 63);
|
|
|
|
|
buttonDelLocomotive.TabIndex = 5;
|
|
|
|
|
buttonDelLocomotive.Text = "Удаление Локомотива";
|
|
|
|
|
buttonDelLocomotive.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDelLocomotive.Click += buttonDelLocomotive_Click;
|
|
|
|
|
//
|
|
|
|
|
// maskedTextBox
|
|
|
|
|
//
|
2024-03-28 09:57:08 +04:00
|
|
|
|
maskedTextBox.Location = new Point(12, 146);
|
2024-03-14 14:26:53 +04:00
|
|
|
|
maskedTextBox.Mask = "00";
|
|
|
|
|
maskedTextBox.Name = "maskedTextBox";
|
|
|
|
|
maskedTextBox.Size = new Size(193, 31);
|
|
|
|
|
maskedTextBox.TabIndex = 4;
|
|
|
|
|
maskedTextBox.ValidatingType = typeof(int);
|
|
|
|
|
//
|
|
|
|
|
// buttonAddElectricLocomotive
|
|
|
|
|
//
|
2024-03-28 09:57:08 +04:00
|
|
|
|
buttonAddElectricLocomotive.Location = new Point(12, 77);
|
2024-03-14 14:26:53 +04:00
|
|
|
|
buttonAddElectricLocomotive.Name = "buttonAddElectricLocomotive";
|
|
|
|
|
buttonAddElectricLocomotive.Size = new Size(193, 63);
|
|
|
|
|
buttonAddElectricLocomotive.TabIndex = 2;
|
|
|
|
|
buttonAddElectricLocomotive.Text = "Добавление Электро - Локомотива";
|
|
|
|
|
buttonAddElectricLocomotive.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAddElectricLocomotive.Click += buttonAddElectricLocomotive_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonAddLocomotive
|
|
|
|
|
//
|
2024-03-28 09:57:08 +04:00
|
|
|
|
buttonAddLocomotive.Location = new Point(12, 8);
|
2024-03-14 14:26:53 +04:00
|
|
|
|
buttonAddLocomotive.Name = "buttonAddLocomotive";
|
|
|
|
|
buttonAddLocomotive.Size = new Size(193, 63);
|
|
|
|
|
buttonAddLocomotive.TabIndex = 1;
|
|
|
|
|
buttonAddLocomotive.Text = "Добавление Локомотива";
|
|
|
|
|
buttonAddLocomotive.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAddLocomotive.Click += buttonAddLocomotive_Click;
|
|
|
|
|
//
|
|
|
|
|
// comboBoxSelectorCompany
|
|
|
|
|
//
|
|
|
|
|
comboBoxSelectorCompany.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
comboBoxSelectorCompany.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxSelectorCompany.FormattingEnabled = true;
|
|
|
|
|
comboBoxSelectorCompany.Items.AddRange(new object[] { "Депо" });
|
2024-03-28 09:57:08 +04:00
|
|
|
|
comboBoxSelectorCompany.Location = new Point(223, 336);
|
2024-03-14 14:26:53 +04:00
|
|
|
|
comboBoxSelectorCompany.Name = "comboBoxSelectorCompany";
|
2024-03-28 09:57:08 +04:00
|
|
|
|
comboBoxSelectorCompany.Size = new Size(246, 33);
|
2024-03-14 14:26:53 +04:00
|
|
|
|
comboBoxSelectorCompany.TabIndex = 0;
|
|
|
|
|
comboBoxSelectorCompany.SelectedIndexChanged += comboBoxSelectorCompany_SelectedIndexChanged;
|
|
|
|
|
//
|
|
|
|
|
// pictureBox
|
|
|
|
|
//
|
|
|
|
|
pictureBox.Dock = DockStyle.Fill;
|
|
|
|
|
pictureBox.Location = new Point(0, 0);
|
|
|
|
|
pictureBox.Name = "pictureBox";
|
2024-03-28 09:57:08 +04:00
|
|
|
|
pictureBox.Size = new Size(589, 450);
|
2024-03-14 14:26:53 +04:00
|
|
|
|
pictureBox.TabIndex = 3;
|
|
|
|
|
pictureBox.TabStop = false;
|
|
|
|
|
//
|
2024-03-28 09:57:08 +04:00
|
|
|
|
// panelCompanyTools
|
|
|
|
|
//
|
|
|
|
|
panelCompanyTools.Controls.Add(buttonAddLocomotive);
|
|
|
|
|
panelCompanyTools.Controls.Add(buttonAddElectricLocomotive);
|
|
|
|
|
panelCompanyTools.Controls.Add(maskedTextBox);
|
|
|
|
|
panelCompanyTools.Controls.Add(buttonDelLocomotive);
|
|
|
|
|
panelCompanyTools.Controls.Add(buttonRefresh);
|
|
|
|
|
panelCompanyTools.Controls.Add(buttonGoToCheck);
|
|
|
|
|
panelCompanyTools.Enabled = false;
|
|
|
|
|
panelCompanyTools.Location = new Point(6, 30);
|
|
|
|
|
panelCompanyTools.Name = "panelCompanyTools";
|
|
|
|
|
panelCompanyTools.Size = new Size(211, 379);
|
|
|
|
|
panelCompanyTools.TabIndex = 4;
|
|
|
|
|
//
|
2024-03-14 14:26:53 +04:00
|
|
|
|
// FormLocomotiveCollection
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(10F, 25F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-03-28 09:57:08 +04:00
|
|
|
|
ClientSize = new Size(1092, 450);
|
2024-03-14 14:26:53 +04:00
|
|
|
|
Controls.Add(pictureBox);
|
|
|
|
|
Controls.Add(groupBoxTools);
|
|
|
|
|
Name = "FormLocomotiveCollection";
|
|
|
|
|
Text = "Коллекция Локомотивов";
|
|
|
|
|
groupBoxTools.ResumeLayout(false);
|
|
|
|
|
groupBoxTools.PerformLayout();
|
2024-03-28 09:57:08 +04:00
|
|
|
|
panelStorage.ResumeLayout(false);
|
|
|
|
|
panelStorage.PerformLayout();
|
2024-03-14 14:26:53 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox).EndInit();
|
2024-03-28 09:57:08 +04:00
|
|
|
|
panelCompanyTools.ResumeLayout(false);
|
|
|
|
|
panelCompanyTools.PerformLayout();
|
2024-03-14 14:26:53 +04:00
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private GroupBox groupBoxTools;
|
|
|
|
|
private ComboBox comboBoxSelectorCompany;
|
|
|
|
|
private Button buttonAddElectricLocomotive;
|
|
|
|
|
private Button buttonAddLocomotive;
|
|
|
|
|
private MaskedTextBox maskedTextBox;
|
|
|
|
|
private PictureBox pictureBox;
|
|
|
|
|
private Button buttonDelLocomotive;
|
|
|
|
|
private Button buttonRefresh;
|
|
|
|
|
private Button buttonGoToCheck;
|
2024-03-28 09:57:08 +04:00
|
|
|
|
private Panel panelStorage;
|
|
|
|
|
private Label labelCollectionName;
|
|
|
|
|
private Button buttonCollectionAdd;
|
|
|
|
|
private RadioButton radioButtonList;
|
|
|
|
|
private RadioButton radioButtonMassive;
|
|
|
|
|
private TextBox textBoxCollectionName;
|
|
|
|
|
private Button buttonCollectionDel;
|
|
|
|
|
private ListBox listBoxCollection;
|
|
|
|
|
private Button buttonCreateCompany;
|
|
|
|
|
private Panel panelCompanyTools;
|
2024-03-14 14:26:53 +04:00
|
|
|
|
}
|
|
|
|
|
}
|