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