Правки
This commit is contained in:
parent
5a00358b98
commit
ad6e93e9bf
@ -97,6 +97,7 @@
|
||||
listBoxStorages.Name = "listBoxStorages";
|
||||
listBoxStorages.Size = new Size(144, 104);
|
||||
listBoxStorages.TabIndex = 9;
|
||||
listBoxStorages.Click += ListBoxObjects_SelectedIndexChanged;
|
||||
//
|
||||
// textBoxStorageName
|
||||
//
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user