PIbd-22. Stroev V.M. Lab Work 05 #7

Closed
StroevVladimir wants to merge 3 commits from Lab05 into Lab04
2 changed files with 2 additions and 1 deletions
Showing only changes of commit ad6e93e9bf - Show all commits

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();