Правки

This commit is contained in:
DyCTaTOR 2023-11-21 12:53:53 +04:00
parent 5a00358b98
commit ad6e93e9bf
2 changed files with 2 additions and 1 deletions

View File

@ -97,6 +97,7 @@
listBoxStorages.Name = "listBoxStorages";
listBoxStorages.Size = new Size(144, 104);
listBoxStorages.TabIndex = 9;
listBoxStorages.Click += ListBoxObjects_SelectedIndexChanged;
//
// textBoxStorageName
//

View File

@ -105,7 +105,7 @@ EventArgs e)
}
int addedIndex = obj + monorail;
if (addedIndex!= -1 && addedIndex < countPlace)
if (addedIndex != -1 && addedIndex < countPlace)
{
MessageBox.Show("Объект добавлен");
pictureBoxCollection.Image = obj.ShowMonorails();