правки лабы 8

This commit is contained in:
Полина Чубыкина 2023-12-23 17:58:47 +04:00
parent b2b5d87699
commit a049e091da
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ namespace Sailboat.Generics
{
records.Append($"{elem?.GetDataForSave(_separatorForObject)}{_separatorRecords}");
}
data.AppendLine($"{record.Key}{_separatorForKeyValue}{records}");
data.AppendLine($"{record.Key.Name}{_separatorForKeyValue}{records}");
}
if (data.Length == 0)

View File

@ -33,7 +33,7 @@ namespace Sailboat
listBoxStorages.Items.Clear();
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
>= listBoxStorages.Items.Count))