This commit is contained in:
кристина лаврова 2024-05-23 09:17:13 +04:00
parent d639cbd1cc
commit ef23a5d6d0

View File

@ -29,6 +29,7 @@
private void InitializeComponent() private void InitializeComponent()
{ {
groupBoxTools = new GroupBox(); groupBoxTools = new GroupBox();
buttonCollectionDel = new Button();
panelCompanyTools = new Panel(); panelCompanyTools = new Panel();
buttonAddFighter = new Button(); buttonAddFighter = new Button();
buttonAddTrackedVehicle = new Button(); buttonAddTrackedVehicle = new Button();
@ -38,7 +39,6 @@
buttonRemoveTrackedVehicle = new Button(); buttonRemoveTrackedVehicle = new Button();
button1CreateCompany = new Button(); button1CreateCompany = new Button();
panelStorage = new Panel(); panelStorage = new Panel();
buttonCollectionDel = new Button();
listBoxCollection = new ListBox(); listBoxCollection = new ListBox();
buttonCollectionAdd = new Button(); buttonCollectionAdd = new Button();
radioButtonList = new RadioButton(); radioButtonList = new RadioButton();
@ -55,18 +55,29 @@
// //
// groupBoxTools // groupBoxTools
// //
groupBoxTools.Controls.Add(buttonCollectionDel);
groupBoxTools.Controls.Add(panelCompanyTools); groupBoxTools.Controls.Add(panelCompanyTools);
groupBoxTools.Controls.Add(button1CreateCompany); groupBoxTools.Controls.Add(button1CreateCompany);
groupBoxTools.Controls.Add(panelStorage); groupBoxTools.Controls.Add(panelStorage);
groupBoxTools.Controls.Add(comboBoxSelectorCompany); groupBoxTools.Controls.Add(comboBoxSelectorCompany);
groupBoxTools.Dock = DockStyle.Right; groupBoxTools.Dock = DockStyle.Right;
groupBoxTools.Location = new Point(635, 0); groupBoxTools.Location = new Point(677, 0);
groupBoxTools.Name = "groupBoxTools"; groupBoxTools.Name = "groupBoxTools";
groupBoxTools.Size = new Size(297, 615); groupBoxTools.Size = new Size(297, 710);
groupBoxTools.TabIndex = 0; groupBoxTools.TabIndex = 0;
groupBoxTools.TabStop = false; groupBoxTools.TabStop = false;
groupBoxTools.Text = "Инструменты"; groupBoxTools.Text = "Инструменты";
// //
// buttonCollectionDel
//
buttonCollectionDel.Location = new Point(3, 284);
buttonCollectionDel.Name = "buttonCollectionDel";
buttonCollectionDel.Size = new Size(276, 34);
buttonCollectionDel.TabIndex = 6;
buttonCollectionDel.Text = "Удалить коллекцию";
buttonCollectionDel.UseVisualStyleBackColor = true;
buttonCollectionDel.Click += buttonCollectionDel_Click;
//
// panelCompanyTools // panelCompanyTools
// //
panelCompanyTools.Controls.Add(buttonAddFighter); panelCompanyTools.Controls.Add(buttonAddFighter);
@ -76,7 +87,7 @@
panelCompanyTools.Controls.Add(buttonGoToCheck); panelCompanyTools.Controls.Add(buttonGoToCheck);
panelCompanyTools.Controls.Add(buttonRemoveTrackedVehicle); panelCompanyTools.Controls.Add(buttonRemoveTrackedVehicle);
panelCompanyTools.Enabled = false; panelCompanyTools.Enabled = false;
panelCompanyTools.Location = new Point(3, 338); panelCompanyTools.Location = new Point(3, 431);
panelCompanyTools.Name = "panelCompanyTools"; panelCompanyTools.Name = "panelCompanyTools";
panelCompanyTools.Size = new Size(282, 273); panelCompanyTools.Size = new Size(282, 273);
panelCompanyTools.TabIndex = 10; panelCompanyTools.TabIndex = 10;
@ -106,7 +117,7 @@
// buttonRefresh // buttonRefresh
// //
buttonRefresh.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; buttonRefresh.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
buttonRefresh.Location = new Point(3, 244); buttonRefresh.Location = new Point(7, 239);
buttonRefresh.Name = "buttonRefresh"; buttonRefresh.Name = "buttonRefresh";
buttonRefresh.Size = new Size(272, 31); buttonRefresh.Size = new Size(272, 31);
buttonRefresh.TabIndex = 7; buttonRefresh.TabIndex = 7;
@ -148,7 +159,7 @@
// //
// button1CreateCompany // button1CreateCompany
// //
button1CreateCompany.Location = new Point(6, 298); button1CreateCompany.Location = new Point(6, 376);
button1CreateCompany.Name = "button1CreateCompany"; button1CreateCompany.Name = "button1CreateCompany";
button1CreateCompany.Size = new Size(276, 34); button1CreateCompany.Size = new Size(276, 34);
button1CreateCompany.TabIndex = 9; button1CreateCompany.TabIndex = 9;
@ -158,7 +169,6 @@
// //
// panelStorage // panelStorage
// //
panelStorage.Controls.Add(buttonCollectionDel);
panelStorage.Controls.Add(listBoxCollection); panelStorage.Controls.Add(listBoxCollection);
panelStorage.Controls.Add(buttonCollectionAdd); panelStorage.Controls.Add(buttonCollectionAdd);
panelStorage.Controls.Add(radioButtonList); panelStorage.Controls.Add(radioButtonList);
@ -171,23 +181,13 @@
panelStorage.Size = new Size(291, 226); panelStorage.Size = new Size(291, 226);
panelStorage.TabIndex = 8; panelStorage.TabIndex = 8;
// //
// buttonCollectionDel
//
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
// //
listBoxCollection.FormattingEnabled = true; listBoxCollection.FormattingEnabled = true;
listBoxCollection.ItemHeight = 25; listBoxCollection.ItemHeight = 25;
listBoxCollection.Location = new Point(6, 154); listBoxCollection.Location = new Point(6, 154);
listBoxCollection.Name = "listBoxCollection"; listBoxCollection.Name = "listBoxCollection";
listBoxCollection.Size = new Size(276, 29); listBoxCollection.Size = new Size(276, 104);
listBoxCollection.TabIndex = 5; listBoxCollection.TabIndex = 5;
// //
// buttonCollectionAdd // buttonCollectionAdd
@ -245,7 +245,7 @@
comboBoxSelectorCompany.DropDownStyle = ComboBoxStyle.DropDownList; comboBoxSelectorCompany.DropDownStyle = ComboBoxStyle.DropDownList;
comboBoxSelectorCompany.FormattingEnabled = true; comboBoxSelectorCompany.FormattingEnabled = true;
comboBoxSelectorCompany.Items.AddRange(new object[] { "Хранилище" }); comboBoxSelectorCompany.Items.AddRange(new object[] { "Хранилище" });
comboBoxSelectorCompany.Location = new Point(3, 259); comboBoxSelectorCompany.Location = new Point(1, 324);
comboBoxSelectorCompany.Name = "comboBoxSelectorCompany"; comboBoxSelectorCompany.Name = "comboBoxSelectorCompany";
comboBoxSelectorCompany.Size = new Size(284, 33); comboBoxSelectorCompany.Size = new Size(284, 33);
comboBoxSelectorCompany.TabIndex = 1; comboBoxSelectorCompany.TabIndex = 1;
@ -256,7 +256,7 @@
pictureBox.Dock = DockStyle.Fill; pictureBox.Dock = DockStyle.Fill;
pictureBox.Location = new Point(0, 0); pictureBox.Location = new Point(0, 0);
pictureBox.Name = "pictureBox"; pictureBox.Name = "pictureBox";
pictureBox.Size = new Size(635, 615); pictureBox.Size = new Size(677, 710);
pictureBox.TabIndex = 1; pictureBox.TabIndex = 1;
pictureBox.TabStop = false; pictureBox.TabStop = false;
pictureBox.Click += pictureBox1_Click; pictureBox.Click += pictureBox1_Click;
@ -265,7 +265,7 @@
// //
AutoScaleDimensions = new SizeF(10F, 25F); AutoScaleDimensions = new SizeF(10F, 25F);
AutoScaleMode = AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(932, 615); ClientSize = new Size(974, 710);
Controls.Add(pictureBox); Controls.Add(pictureBox);
Controls.Add(groupBoxTools); Controls.Add(groupBoxTools);
Name = "FormTrackedVehicleCollection"; Name = "FormTrackedVehicleCollection";