PIbd-22 Chubykina P.P. LabWork_08 #12

Closed
chubykina_polina wants to merge 3 commits from LabWork_08.1 into LabWork_07
2 changed files with 2 additions and 2 deletions
Showing only changes of commit a049e091da - Show all commits

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))