PIbd-21 Belianin N.N. LabWork06 #6

Closed
Belnik wants to merge 3 commits from LabWork06 into LabWork05
Showing only changes of commit 57ba9fa79f - Show all commits

View File

@ -56,8 +56,7 @@ namespace Tank
ReloadObjects();
}
private void ListBoxObjects_SelectedIndexChanged(object sender,
EventArgs e)
private void ListBoxObjects_SelectedIndexChanged(object sender, EventArgs e)
{
DrawTank.Image =
_storage[CollectionListBox.SelectedItem?.ToString() ?? string.Empty]?.ShowTanks();
@ -178,7 +177,6 @@ namespace Tank
private void LoadToolStripMenuItem_Click(object sender, EventArgs e)
{
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
if (_storage.LoadData(openFileDialog.FileName))