This commit is contained in:
goblinrf 2023-11-22 21:52:10 +03:00
parent 5558f6569c
commit 6f3d02c4de

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)