правки лабы 8
This commit is contained in:
parent
b2b5d87699
commit
a049e091da
@ -105,7 +105,7 @@ namespace Sailboat.Generics
|
|||||||
{
|
{
|
||||||
records.Append($"{elem?.GetDataForSave(_separatorForObject)}{_separatorRecords}");
|
records.Append($"{elem?.GetDataForSave(_separatorForObject)}{_separatorRecords}");
|
||||||
}
|
}
|
||||||
data.AppendLine($"{record.Key}{_separatorForKeyValue}{records}");
|
data.AppendLine($"{record.Key.Name}{_separatorForKeyValue}{records}");
|
||||||
|
|
||||||
}
|
}
|
||||||
if (data.Length == 0)
|
if (data.Length == 0)
|
||||||
|
@ -33,7 +33,7 @@ namespace Sailboat
|
|||||||
listBoxStorages.Items.Clear();
|
listBoxStorages.Items.Clear();
|
||||||
for (int i = 0; i < _storage.Keys.Count; i++)
|
for (int i = 0; i < _storage.Keys.Count; i++)
|
||||||
{
|
{
|
||||||
listBoxStorages.Items.Add(_storage.Keys[i]);
|
listBoxStorages.Items.Add(_storage.Keys[i].Name);
|
||||||
}
|
}
|
||||||
if (listBoxStorages.Items.Count > 0 && (index == -1 || index
|
if (listBoxStorages.Items.Count > 0 && (index == -1 || index
|
||||||
>= listBoxStorages.Items.Count))
|
>= listBoxStorages.Items.Count))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user