Готовая лаба №6

This commit is contained in:
Софья Якобчук 2023-12-12 12:22:36 +04:00
parent c7f8817685
commit 77510e0be1
2 changed files with 4 additions and 4 deletions

View File

@ -120,7 +120,7 @@ namespace Sailboat.Generics
}
using (StreamWriter writer = new StreamWriter(filename))
{
writer.Write($"PlaneStorage{Environment.NewLine}{data}");
writer.Write($"BoatStorage{Environment.NewLine}{data}");
}
return true;
}

View File

@ -182,24 +182,24 @@
// SaveToolStripMenuItem
//
SaveToolStripMenuItem.Name = "SaveToolStripMenuItem";
SaveToolStripMenuItem.Size = new Size(224, 26);
SaveToolStripMenuItem.Size = new Size(177, 26);
SaveToolStripMenuItem.Text = "Сохранение";
SaveToolStripMenuItem.Click += SaveToolStripMenuItem_Click;
//
// LoadToolStripMenuItem
//
LoadToolStripMenuItem.Name = "LoadToolStripMenuItem";
LoadToolStripMenuItem.Size = new Size(224, 26);
LoadToolStripMenuItem.Size = new Size(177, 26);
LoadToolStripMenuItem.Text = "Загрузка";
LoadToolStripMenuItem.Click += LoadToolStripMenuItem_Click;
//
// openFileDialog
//
openFileDialog.FileName = "openFileDialog";
openFileDialog.Filter = "txt file | *.txt";
//
// saveFileDialog
//
saveFileDialog.FileName = "BoatSave";
saveFileDialog.Filter = "txt file | *.txt";
//
// FormBoatCollection