Лаба 7 готова.

This commit is contained in:
Андрей Байгулов 2023-12-10 23:43:18 +04:00
parent ff8612fc91
commit ce1d47a44e

View File

@ -33,11 +33,11 @@
textBoxSetName = new TextBox(); textBoxSetName = new TextBox();
buttonDeleteSet = new Button(); buttonDeleteSet = new Button();
listBoxStorages = new ListBox(); listBoxStorages = new ListBox();
ButtonAddLocomotive = new Button();
buttonAddSet = new Button(); buttonAddSet = new Button();
maskedTextBoxNumber = new MaskedTextBox(); maskedTextBoxNumber = new MaskedTextBox();
ButtonRefreshCollection = new Button(); ButtonRefreshCollection = new Button();
ButtonRemoveLocomotive = new Button(); ButtonRemoveLocomotive = new Button();
ButtonAddLocomotive = new Button();
pictureBoxCollection = new PictureBox(); pictureBoxCollection = new PictureBox();
menuStrip = new MenuStrip(); menuStrip = new MenuStrip();
файлToolStripMenuItem = new ToolStripMenuItem(); файлToolStripMenuItem = new ToolStripMenuItem();
@ -81,6 +81,7 @@
buttonDeleteSet.TabIndex = 2; buttonDeleteSet.TabIndex = 2;
buttonDeleteSet.Text = "Удалить набор"; buttonDeleteSet.Text = "Удалить набор";
buttonDeleteSet.UseVisualStyleBackColor = true; buttonDeleteSet.UseVisualStyleBackColor = true;
buttonDeleteSet.Click += ButtonRemoveObject_Click;
// //
// listBoxStorages // listBoxStorages
// //
@ -92,6 +93,16 @@
listBoxStorages.TabIndex = 1; listBoxStorages.TabIndex = 1;
listBoxStorages.SelectedIndexChanged += listBoxStorages_SelectedIndexChanged; 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
// //
buttonAddSet.Location = new Point(6, 67); buttonAddSet.Location = new Point(6, 67);
@ -100,6 +111,7 @@
buttonAddSet.TabIndex = 0; buttonAddSet.TabIndex = 0;
buttonAddSet.Text = "Добавить набор"; buttonAddSet.Text = "Добавить набор";
buttonAddSet.UseVisualStyleBackColor = true; buttonAddSet.UseVisualStyleBackColor = true;
buttonAddSet.Click += ButtonAddObject_Click;
// //
// maskedTextBoxNumber // maskedTextBoxNumber
// //
@ -128,16 +140,6 @@
ButtonRemoveLocomotive.UseVisualStyleBackColor = true; ButtonRemoveLocomotive.UseVisualStyleBackColor = true;
ButtonRemoveLocomotive.Click += buttonRemoveLocomotive_Click; 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
// //
pictureBoxCollection.Location = new Point(6, 24); pictureBoxCollection.Location = new Point(6, 24);