From ce1d47a44e78be3c8cc67656ab7c6a955549abdd Mon Sep 17 00:00:00 2001 From: tellsense Date: Sun, 10 Dec 2023 23:43:18 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B0=D0=B1=D0=B0=207=20=D0=B3=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D0=B2=D0=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FormLocomotiveCollection.Designer.cs | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.Designer.cs b/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.Designer.cs index d1516da..a921ee7 100644 --- a/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.Designer.cs +++ b/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.Designer.cs @@ -33,11 +33,11 @@ textBoxSetName = new TextBox(); buttonDeleteSet = new Button(); listBoxStorages = new ListBox(); + ButtonAddLocomotive = new Button(); buttonAddSet = new Button(); maskedTextBoxNumber = new MaskedTextBox(); ButtonRefreshCollection = new Button(); ButtonRemoveLocomotive = new Button(); - ButtonAddLocomotive = new Button(); pictureBoxCollection = new PictureBox(); menuStrip = new MenuStrip(); файлToolStripMenuItem = new ToolStripMenuItem(); @@ -81,6 +81,7 @@ buttonDeleteSet.TabIndex = 2; buttonDeleteSet.Text = "Удалить набор"; buttonDeleteSet.UseVisualStyleBackColor = true; + buttonDeleteSet.Click += ButtonRemoveObject_Click; // // listBoxStorages // @@ -92,6 +93,16 @@ listBoxStorages.TabIndex = 1; listBoxStorages.SelectedIndexChanged += listBoxStorages_SelectedIndexChanged; // + // ButtonAddLocomotive + // + ButtonAddLocomotive.Location = new Point(6, 269); + ButtonAddLocomotive.Name = "ButtonAddLocomotive"; + ButtonAddLocomotive.Size = new Size(226, 39); + ButtonAddLocomotive.TabIndex = 0; + ButtonAddLocomotive.Text = "Добавить локомотив"; + ButtonAddLocomotive.UseVisualStyleBackColor = true; + ButtonAddLocomotive.Click += buttonAddLocomotive_Click; + // // buttonAddSet // buttonAddSet.Location = new Point(6, 67); @@ -100,6 +111,7 @@ buttonAddSet.TabIndex = 0; buttonAddSet.Text = "Добавить набор"; buttonAddSet.UseVisualStyleBackColor = true; + buttonAddSet.Click += ButtonAddObject_Click; // // maskedTextBoxNumber // @@ -128,16 +140,6 @@ ButtonRemoveLocomotive.UseVisualStyleBackColor = true; ButtonRemoveLocomotive.Click += buttonRemoveLocomotive_Click; // - // ButtonAddLocomotive - // - ButtonAddLocomotive.Location = new Point(6, 269); - ButtonAddLocomotive.Name = "ButtonAddLocomotive"; - ButtonAddLocomotive.Size = new Size(226, 39); - ButtonAddLocomotive.TabIndex = 0; - ButtonAddLocomotive.Text = "Добавить локомотив"; - ButtonAddLocomotive.UseVisualStyleBackColor = true; - ButtonAddLocomotive.Click += buttonAddLocomotive_Click; - // // pictureBoxCollection // pictureBoxCollection.Location = new Point(6, 24);