PIbd-23. Kislitsa E.D. Lab work 05 #5 #5

Closed
Egor wants to merge 3 commits from Laba5 into Laba4
Showing only changes of commit 6f3d02c4de - Show all commits

View File

@ -42,17 +42,6 @@ namespace ProjectAirFighter
{
listBoxStorages.SelectedIndex = index;
}
if (listBoxStorages.SelectedIndex == -1)
{
return;
}
var obj = _storage[listBoxStorages.SelectedItem.ToString() ??
string.Empty];
if (obj == null)
{
return;
}
pictureBoxCollection.Image = obj.ShowAirplanes();
}
private void ButtonAddObject_Click(object sender, EventArgs e)