В 4 лабе переназвал кнопки, а бекапе пятой лабы забыл)

This commit is contained in:
Леонид Малафеев 2023-11-24 12:48:34 +04:00
parent 3035239271
commit 7e7c8b4c19

View File

@ -29,10 +29,10 @@
private void InitializeComponent() private void InitializeComponent()
{ {
groupBoxTools = new GroupBox(); groupBoxTools = new GroupBox();
button2 = new Button(); buttonDeleteCruiser = new Button();
textBoxNumber = new TextBox(); textBoxNumber = new TextBox();
buttonAddCruiser = new Button(); buttonAddCruiser = new Button();
button3 = new Button(); buttonRefreshCollection = new Button();
pictureBoxCollection = new PictureBox(); pictureBoxCollection = new PictureBox();
groupBoxStorage = new GroupBox(); groupBoxStorage = new GroupBox();
listBoxStorages = new ListBox(); listBoxStorages = new ListBox();
@ -46,7 +46,7 @@
// //
// groupBoxTools // groupBoxTools
// //
groupBoxTools.Controls.Add(button2); groupBoxTools.Controls.Add(buttonDeleteCruiser);
groupBoxTools.Controls.Add(textBoxNumber); groupBoxTools.Controls.Add(textBoxNumber);
groupBoxTools.Controls.Add(buttonAddCruiser); groupBoxTools.Controls.Add(buttonAddCruiser);
groupBoxTools.Location = new Point(653, 1); groupBoxTools.Location = new Point(653, 1);
@ -56,15 +56,15 @@
groupBoxTools.TabStop = false; groupBoxTools.TabStop = false;
groupBoxTools.Text = "Инструменты"; groupBoxTools.Text = "Инструменты";
// //
// button2 // buttonDeleteCruiser
// //
button2.Location = new Point(15, 95); buttonDeleteCruiser.Location = new Point(15, 95);
button2.Name = "button2"; buttonDeleteCruiser.Name = "buttonDeleteCruiser";
button2.Size = new Size(122, 37); buttonDeleteCruiser.Size = new Size(122, 37);
button2.TabIndex = 2; buttonDeleteCruiser.TabIndex = 2;
button2.Text = "Удалить лайнер"; buttonDeleteCruiser.Text = "Удалить лайнер";
button2.UseVisualStyleBackColor = true; buttonDeleteCruiser.UseVisualStyleBackColor = true;
button2.Click += ButtonRemoveCar_Click; buttonDeleteCruiser.Click += ButtonRemoveCar_Click;
// //
// textBoxNumber // textBoxNumber
// //
@ -83,15 +83,15 @@
buttonAddCruiser.UseVisualStyleBackColor = true; buttonAddCruiser.UseVisualStyleBackColor = true;
buttonAddCruiser.Click += ButtonAddCruiser_Click; buttonAddCruiser.Click += ButtonAddCruiser_Click;
// //
// button3 // buttonRefreshCollection
// //
button3.Location = new Point(662, 397); buttonRefreshCollection.Location = new Point(662, 397);
button3.Name = "button3"; buttonRefreshCollection.Name = "buttonRefreshCollection";
button3.Size = new Size(131, 41); buttonRefreshCollection.Size = new Size(131, 41);
button3.TabIndex = 3; buttonRefreshCollection.TabIndex = 3;
button3.Text = "Обновить коллекцию"; buttonRefreshCollection.Text = "Обновить коллекцию";
button3.UseVisualStyleBackColor = true; buttonRefreshCollection.UseVisualStyleBackColor = true;
button3.Click += ButtonRefreshCollection_Click; buttonRefreshCollection.Click += ButtonRefreshCollection_Click;
// //
// pictureBoxCollection // pictureBoxCollection
// //
@ -156,7 +156,7 @@
AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450); ClientSize = new Size(800, 450);
Controls.Add(button3); Controls.Add(buttonRefreshCollection);
Controls.Add(groupBoxStorage); Controls.Add(groupBoxStorage);
Controls.Add(pictureBoxCollection); Controls.Add(pictureBoxCollection);
Controls.Add(groupBoxTools); Controls.Add(groupBoxTools);
@ -175,8 +175,8 @@
private GroupBox groupBoxTools; private GroupBox groupBoxTools;
private TextBox textBoxNumber; private TextBox textBoxNumber;
private Button buttonAddCruiser; private Button buttonAddCruiser;
private Button button3; private Button buttonRefreshCollection;
private Button button2; private Button buttonDeleteCruiser;
private PictureBox pictureBoxCollection; private PictureBox pictureBoxCollection;
private GroupBox groupBoxStorage; private GroupBox groupBoxStorage;
private Button button1; private Button button1;