Удаление доп. задания 4 лабораторной.
This commit is contained in:
parent
1c5ea38fdf
commit
740b975dc7
@ -46,9 +46,9 @@ namespace ContainerShip
|
|||||||
int index = listBoxMaps.SelectedIndex;
|
int index = listBoxMaps.SelectedIndex;
|
||||||
|
|
||||||
listBoxMaps.Items.Clear();
|
listBoxMaps.Items.Clear();
|
||||||
foreach (string key in _mapsCollection.Keys)
|
for (int i = 0; i < _mapsCollection.Keys.Count; i++)
|
||||||
{
|
{
|
||||||
listBoxMaps.Items.Add(key);
|
listBoxMaps.Items.Add(_mapsCollection.Keys[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (listBoxMaps.Items.Count > 0 && (index == -1 || index >= listBoxMaps.Items.Count))
|
if (listBoxMaps.Items.Count > 0 && (index == -1 || index >= listBoxMaps.Items.Count))
|
||||||
|
Loading…
Reference in New Issue
Block a user