2024-04-24 22:45:48 +04:00
|
|
|
|
namespace lab1
|
|
|
|
|
{
|
|
|
|
|
partial class FormTrackedVehicleCollection
|
|
|
|
|
{
|
|
|
|
|
/// <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-04-25 02:02:47 +04:00
|
|
|
|
panelCompanyTools = new Panel();
|
|
|
|
|
buttonAddFighter = new Button();
|
|
|
|
|
buttonAddTrackedVehicle = new Button();
|
2024-04-24 22:45:48 +04:00
|
|
|
|
buttonRefresh = new Button();
|
2024-04-25 02:02:47 +04:00
|
|
|
|
maskedTextBox = new MaskedTextBox();
|
2024-04-24 22:45:48 +04:00
|
|
|
|
buttonGoToCheck = new Button();
|
|
|
|
|
buttonRemoveTrackedVehicle = new Button();
|
2024-04-25 02:02:47 +04:00
|
|
|
|
button1CreateCompany = new Button();
|
|
|
|
|
panelStorage = new Panel();
|
|
|
|
|
buttonCollectionDel = new Button();
|
|
|
|
|
listBoxCollection = new ListBox();
|
|
|
|
|
buttonCollectionAdd = new Button();
|
|
|
|
|
radioButtonList = new RadioButton();
|
|
|
|
|
radioButtonMassive = new RadioButton();
|
|
|
|
|
textBoxCollectionName = new TextBox();
|
|
|
|
|
labelCollectionName = new Label();
|
2024-04-24 22:45:48 +04:00
|
|
|
|
comboBoxSelectorCompany = new ComboBox();
|
|
|
|
|
pictureBox = new PictureBox();
|
|
|
|
|
groupBoxTools.SuspendLayout();
|
2024-04-25 02:02:47 +04:00
|
|
|
|
panelCompanyTools.SuspendLayout();
|
|
|
|
|
panelStorage.SuspendLayout();
|
2024-04-24 22:45:48 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// groupBoxTools
|
|
|
|
|
//
|
2024-04-25 02:02:47 +04:00
|
|
|
|
groupBoxTools.Controls.Add(panelCompanyTools);
|
|
|
|
|
groupBoxTools.Controls.Add(button1CreateCompany);
|
|
|
|
|
groupBoxTools.Controls.Add(panelStorage);
|
2024-04-24 22:45:48 +04:00
|
|
|
|
groupBoxTools.Controls.Add(comboBoxSelectorCompany);
|
|
|
|
|
groupBoxTools.Dock = DockStyle.Right;
|
2024-04-25 02:02:47 +04:00
|
|
|
|
groupBoxTools.Location = new Point(670, 0);
|
2024-04-24 22:45:48 +04:00
|
|
|
|
groupBoxTools.Name = "groupBoxTools";
|
|
|
|
|
groupBoxTools.Size = new Size(297, 617);
|
|
|
|
|
groupBoxTools.TabIndex = 0;
|
|
|
|
|
groupBoxTools.TabStop = false;
|
|
|
|
|
groupBoxTools.Text = "Инструменты";
|
|
|
|
|
//
|
2024-04-25 02:02:47 +04:00
|
|
|
|
// panelCompanyTools
|
|
|
|
|
//
|
|
|
|
|
panelCompanyTools.Controls.Add(buttonAddFighter);
|
|
|
|
|
panelCompanyTools.Controls.Add(buttonAddTrackedVehicle);
|
|
|
|
|
panelCompanyTools.Controls.Add(buttonRefresh);
|
|
|
|
|
panelCompanyTools.Controls.Add(maskedTextBox);
|
|
|
|
|
panelCompanyTools.Controls.Add(buttonGoToCheck);
|
|
|
|
|
panelCompanyTools.Controls.Add(buttonRemoveTrackedVehicle);
|
|
|
|
|
panelCompanyTools.Enabled = false;
|
|
|
|
|
panelCompanyTools.Location = new Point(3, 338);
|
|
|
|
|
panelCompanyTools.Name = "panelCompanyTools";
|
|
|
|
|
panelCompanyTools.Size = new Size(282, 273);
|
|
|
|
|
panelCompanyTools.TabIndex = 10;
|
|
|
|
|
//
|
|
|
|
|
// buttonAddFighter
|
|
|
|
|
//
|
|
|
|
|
buttonAddFighter.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
buttonAddFighter.Location = new Point(6, 0);
|
|
|
|
|
buttonAddFighter.Name = "buttonAddFighter";
|
|
|
|
|
buttonAddFighter.Size = new Size(273, 52);
|
|
|
|
|
buttonAddFighter.TabIndex = 2;
|
|
|
|
|
buttonAddFighter.Text = "Добавление истребителя";
|
|
|
|
|
buttonAddFighter.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAddFighter.Click += ButtonAddTrackedVehicle_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonAddTrackedVehicle
|
|
|
|
|
//
|
|
|
|
|
buttonAddTrackedVehicle.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
buttonAddTrackedVehicle.Location = new Point(6, 58);
|
|
|
|
|
buttonAddTrackedVehicle.Name = "buttonAddTrackedVehicle";
|
|
|
|
|
buttonAddTrackedVehicle.Size = new Size(273, 60);
|
|
|
|
|
buttonAddTrackedVehicle.TabIndex = 3;
|
|
|
|
|
buttonAddTrackedVehicle.Text = "Добавление гусеничной машины";
|
|
|
|
|
buttonAddTrackedVehicle.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAddTrackedVehicle.Click += ButtonAddTrackedVehicle_Click;
|
|
|
|
|
//
|
2024-04-24 22:45:48 +04:00
|
|
|
|
// buttonRefresh
|
|
|
|
|
//
|
|
|
|
|
buttonRefresh.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
2024-04-25 02:02:47 +04:00
|
|
|
|
buttonRefresh.Location = new Point(3, 244);
|
2024-04-24 22:45:48 +04:00
|
|
|
|
buttonRefresh.Name = "buttonRefresh";
|
2024-04-25 02:02:47 +04:00
|
|
|
|
buttonRefresh.Size = new Size(272, 31);
|
2024-04-24 22:45:48 +04:00
|
|
|
|
buttonRefresh.TabIndex = 7;
|
|
|
|
|
buttonRefresh.Text = "Обновить";
|
|
|
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRefresh.Click += ButtonRefresh_Click_1;
|
|
|
|
|
//
|
2024-04-25 02:02:47 +04:00
|
|
|
|
// maskedTextBox
|
|
|
|
|
//
|
|
|
|
|
maskedTextBox.Location = new Point(3, 124);
|
|
|
|
|
maskedTextBox.Mask = "00";
|
|
|
|
|
maskedTextBox.Name = "maskedTextBox";
|
|
|
|
|
maskedTextBox.Size = new Size(284, 31);
|
|
|
|
|
maskedTextBox.TabIndex = 4;
|
|
|
|
|
maskedTextBox.ValidatingType = typeof(int);
|
|
|
|
|
maskedTextBox.MaskInputRejected += maskedTextBox1_MaskInputRejected;
|
|
|
|
|
//
|
2024-04-24 22:45:48 +04:00
|
|
|
|
// buttonGoToCheck
|
|
|
|
|
//
|
|
|
|
|
buttonGoToCheck.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
2024-04-25 02:02:47 +04:00
|
|
|
|
buttonGoToCheck.Location = new Point(7, 205);
|
2024-04-24 22:45:48 +04:00
|
|
|
|
buttonGoToCheck.Name = "buttonGoToCheck";
|
2024-04-25 02:02:47 +04:00
|
|
|
|
buttonGoToCheck.Size = new Size(274, 33);
|
2024-04-24 22:45:48 +04:00
|
|
|
|
buttonGoToCheck.TabIndex = 6;
|
|
|
|
|
buttonGoToCheck.Text = "Передать на тесты";
|
|
|
|
|
buttonGoToCheck.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonGoToCheck.Click += button1_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRemoveTrackedVehicle
|
|
|
|
|
//
|
|
|
|
|
buttonRemoveTrackedVehicle.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
2024-04-25 02:02:47 +04:00
|
|
|
|
buttonRemoveTrackedVehicle.Location = new Point(7, 161);
|
2024-04-24 22:45:48 +04:00
|
|
|
|
buttonRemoveTrackedVehicle.Name = "buttonRemoveTrackedVehicle";
|
2024-04-25 02:02:47 +04:00
|
|
|
|
buttonRemoveTrackedVehicle.Size = new Size(274, 38);
|
2024-04-24 22:45:48 +04:00
|
|
|
|
buttonRemoveTrackedVehicle.TabIndex = 5;
|
|
|
|
|
buttonRemoveTrackedVehicle.Text = "Удаление гусеничной машины";
|
|
|
|
|
buttonRemoveTrackedVehicle.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRemoveTrackedVehicle.Click += ButtonRemoveTrackedVehicle_Click;
|
|
|
|
|
//
|
2024-04-25 02:02:47 +04:00
|
|
|
|
// button1CreateCompany
|
2024-04-24 22:45:48 +04:00
|
|
|
|
//
|
2024-04-25 02:02:47 +04:00
|
|
|
|
button1CreateCompany.Location = new Point(6, 298);
|
|
|
|
|
button1CreateCompany.Name = "button1CreateCompany";
|
|
|
|
|
button1CreateCompany.Size = new Size(276, 34);
|
|
|
|
|
button1CreateCompany.TabIndex = 9;
|
|
|
|
|
button1CreateCompany.Text = "Создать компанию";
|
|
|
|
|
button1CreateCompany.UseVisualStyleBackColor = true;
|
|
|
|
|
button1CreateCompany.Click += button1CreateCompany_Click;
|
2024-04-24 22:45:48 +04:00
|
|
|
|
//
|
2024-04-25 02:02:47 +04:00
|
|
|
|
// panelStorage
|
2024-04-24 22:45:48 +04:00
|
|
|
|
//
|
2024-04-25 02:02:47 +04:00
|
|
|
|
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.Controls.Add(labelCollectionName);
|
|
|
|
|
panelStorage.Dock = DockStyle.Top;
|
|
|
|
|
panelStorage.Location = new Point(3, 27);
|
|
|
|
|
panelStorage.Name = "panelStorage";
|
|
|
|
|
panelStorage.Size = new Size(291, 226);
|
|
|
|
|
panelStorage.TabIndex = 8;
|
2024-04-24 22:45:48 +04:00
|
|
|
|
//
|
2024-04-25 02:02:47 +04:00
|
|
|
|
// buttonCollectionDel
|
2024-04-24 22:45:48 +04:00
|
|
|
|
//
|
2024-04-25 02:02:47 +04:00
|
|
|
|
buttonCollectionDel.Location = new Point(3, 189);
|
|
|
|
|
buttonCollectionDel.Name = "buttonCollectionDel";
|
|
|
|
|
buttonCollectionDel.Size = new Size(276, 34);
|
|
|
|
|
buttonCollectionDel.TabIndex = 6;
|
|
|
|
|
buttonCollectionDel.Text = "Удалить коллекцию";
|
|
|
|
|
buttonCollectionDel.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCollectionDel.Click += buttonCollectionDel_Click;
|
|
|
|
|
//
|
|
|
|
|
// listBoxCollection
|
|
|
|
|
//
|
|
|
|
|
listBoxCollection.FormattingEnabled = true;
|
|
|
|
|
listBoxCollection.ItemHeight = 25;
|
|
|
|
|
listBoxCollection.Location = new Point(6, 154);
|
|
|
|
|
listBoxCollection.Name = "listBoxCollection";
|
|
|
|
|
listBoxCollection.Size = new Size(276, 29);
|
|
|
|
|
listBoxCollection.TabIndex = 5;
|
|
|
|
|
//
|
|
|
|
|
// buttonCollectionAdd
|
|
|
|
|
//
|
|
|
|
|
buttonCollectionAdd.Location = new Point(6, 114);
|
|
|
|
|
buttonCollectionAdd.Name = "buttonCollectionAdd";
|
|
|
|
|
buttonCollectionAdd.Size = new Size(276, 34);
|
|
|
|
|
buttonCollectionAdd.TabIndex = 4;
|
|
|
|
|
buttonCollectionAdd.Text = "Добавить коллекцию";
|
|
|
|
|
buttonCollectionAdd.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCollectionAdd.Click += buttonCollectionAdd_Click;
|
|
|
|
|
//
|
|
|
|
|
// radioButtonList
|
|
|
|
|
//
|
|
|
|
|
radioButtonList.AutoSize = true;
|
|
|
|
|
radioButtonList.Location = new Point(153, 79);
|
|
|
|
|
radioButtonList.Name = "radioButtonList";
|
|
|
|
|
radioButtonList.Size = new Size(96, 29);
|
|
|
|
|
radioButtonList.TabIndex = 3;
|
|
|
|
|
radioButtonList.TabStop = true;
|
|
|
|
|
radioButtonList.Text = "Список";
|
|
|
|
|
radioButtonList.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// radioButtonMassive
|
|
|
|
|
//
|
|
|
|
|
radioButtonMassive.AutoSize = true;
|
|
|
|
|
radioButtonMassive.Location = new Point(41, 79);
|
|
|
|
|
radioButtonMassive.Name = "radioButtonMassive";
|
|
|
|
|
radioButtonMassive.Size = new Size(98, 29);
|
|
|
|
|
radioButtonMassive.TabIndex = 2;
|
|
|
|
|
radioButtonMassive.TabStop = true;
|
|
|
|
|
radioButtonMassive.Text = "Массив";
|
|
|
|
|
radioButtonMassive.UseVisualStyleBackColor = true;
|
|
|
|
|
radioButtonMassive.CheckedChanged += radioButtonMassive_CheckedChanged;
|
|
|
|
|
//
|
|
|
|
|
// textBoxCollectionName
|
|
|
|
|
//
|
|
|
|
|
textBoxCollectionName.Location = new Point(4, 42);
|
|
|
|
|
textBoxCollectionName.Name = "textBoxCollectionName";
|
|
|
|
|
textBoxCollectionName.Size = new Size(278, 31);
|
|
|
|
|
textBoxCollectionName.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// labelCollectionName
|
|
|
|
|
//
|
|
|
|
|
labelCollectionName.AutoSize = true;
|
|
|
|
|
labelCollectionName.Location = new Point(41, 14);
|
|
|
|
|
labelCollectionName.Name = "labelCollectionName";
|
|
|
|
|
labelCollectionName.Size = new Size(186, 25);
|
|
|
|
|
labelCollectionName.TabIndex = 0;
|
|
|
|
|
labelCollectionName.Text = "Название коллекции:";
|
2024-04-24 22:45:48 +04:00
|
|
|
|
//
|
|
|
|
|
// comboBoxSelectorCompany
|
|
|
|
|
//
|
|
|
|
|
comboBoxSelectorCompany.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
comboBoxSelectorCompany.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
|
|
|
comboBoxSelectorCompany.FormattingEnabled = true;
|
|
|
|
|
comboBoxSelectorCompany.Items.AddRange(new object[] { "Хранилище" });
|
2024-04-25 02:02:47 +04:00
|
|
|
|
comboBoxSelectorCompany.Location = new Point(3, 259);
|
2024-04-24 22:45:48 +04:00
|
|
|
|
comboBoxSelectorCompany.Name = "comboBoxSelectorCompany";
|
|
|
|
|
comboBoxSelectorCompany.Size = new Size(284, 33);
|
|
|
|
|
comboBoxSelectorCompany.TabIndex = 1;
|
|
|
|
|
comboBoxSelectorCompany.SelectedIndexChanged += comboBoxSelectorCompany_SelectedIndexChanged;
|
|
|
|
|
//
|
|
|
|
|
// pictureBox
|
|
|
|
|
//
|
|
|
|
|
pictureBox.Dock = DockStyle.Fill;
|
|
|
|
|
pictureBox.Location = new Point(0, 0);
|
|
|
|
|
pictureBox.Name = "pictureBox";
|
2024-04-25 02:02:47 +04:00
|
|
|
|
pictureBox.Size = new Size(670, 617);
|
2024-04-24 22:45:48 +04:00
|
|
|
|
pictureBox.TabIndex = 1;
|
|
|
|
|
pictureBox.TabStop = false;
|
|
|
|
|
pictureBox.Click += pictureBox1_Click;
|
|
|
|
|
//
|
|
|
|
|
// FormTrackedVehicleCollection
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(10F, 25F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-04-25 02:02:47 +04:00
|
|
|
|
ClientSize = new Size(967, 617);
|
2024-04-24 22:45:48 +04:00
|
|
|
|
Controls.Add(pictureBox);
|
|
|
|
|
Controls.Add(groupBoxTools);
|
|
|
|
|
Name = "FormTrackedVehicleCollection";
|
|
|
|
|
Text = "Коллекция гусеничных машин";
|
|
|
|
|
Load += FormTrackedVehicleCollection_Load;
|
|
|
|
|
groupBoxTools.ResumeLayout(false);
|
2024-04-25 02:02:47 +04:00
|
|
|
|
panelCompanyTools.ResumeLayout(false);
|
|
|
|
|
panelCompanyTools.PerformLayout();
|
|
|
|
|
panelStorage.ResumeLayout(false);
|
|
|
|
|
panelStorage.PerformLayout();
|
2024-04-24 22:45:48 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)pictureBox).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private GroupBox groupBoxTools;
|
|
|
|
|
private ComboBox comboBoxSelectorCompany;
|
|
|
|
|
private Button buttonAddTrackedVehicle;
|
|
|
|
|
private Button buttonAddFighter;
|
|
|
|
|
private PictureBox pictureBox;
|
|
|
|
|
private Button buttonRemoveTrackedVehicle;
|
|
|
|
|
private MaskedTextBox maskedTextBox;
|
|
|
|
|
private Button buttonGoToCheck;
|
|
|
|
|
private Button buttonRefresh;
|
2024-04-25 02:02:47 +04:00
|
|
|
|
private Panel panelStorage;
|
|
|
|
|
private TextBox textBoxCollectionName;
|
|
|
|
|
private Label labelCollectionName;
|
|
|
|
|
private RadioButton radioButtonList;
|
|
|
|
|
private RadioButton radioButtonMassive;
|
|
|
|
|
private ListBox listBoxCollection;
|
|
|
|
|
private Button buttonCollectionAdd;
|
|
|
|
|
private Button button1CreateCompany;
|
|
|
|
|
private Button buttonCollectionDel;
|
|
|
|
|
private Panel panelCompanyTools;
|
2024-04-24 22:45:48 +04:00
|
|
|
|
}
|
|
|
|
|
}
|