diff --git a/ProjectSportCar/ProjectSportCar/FormPlaneCollection.Designer.cs b/ProjectSportCar/ProjectSportCar/FormPlaneCollection.Designer.cs index e20cd32..e5493fb 100644 --- a/ProjectSportCar/ProjectSportCar/FormPlaneCollection.Designer.cs +++ b/ProjectSportCar/ProjectSportCar/FormPlaneCollection.Designer.cs @@ -271,6 +271,7 @@ saveToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.S; saveToolStripMenuItem.Size = new Size(227, 26); saveToolStripMenuItem.Text = "Сохранение"; + saveToolStripMenuItem.Click += saveToolStripMenuItem_Click_1; // // loadToolStripMenuItem // @@ -278,6 +279,7 @@ loadToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.L; loadToolStripMenuItem.Size = new Size(227, 26); loadToolStripMenuItem.Text = "Загрузка"; + loadToolStripMenuItem.Click += loadToolStripMenuItem_Click_1; // // openFileDialog // diff --git a/ProjectSportCar/ProjectSportCar/FormPlaneCollection.cs b/ProjectSportCar/ProjectSportCar/FormPlaneCollection.cs index 78b15fe..74254e5 100644 --- a/ProjectSportCar/ProjectSportCar/FormPlaneCollection.cs +++ b/ProjectSportCar/ProjectSportCar/FormPlaneCollection.cs @@ -239,7 +239,7 @@ public partial class FormPlaneCollection : Form } - private void saveToolStripMenuItem_Click(object sender, EventArgs e) + private void saveToolStripMenuItem_Click_1(object sender, EventArgs e) { if (saveFileDialog.ShowDialog() == DialogResult.OK) { @@ -255,7 +255,7 @@ public partial class FormPlaneCollection : Form } } - private void loadToolStripMenuItem_Click(object sender, EventArgs e) + private void loadToolStripMenuItem_Click_1(object sender, EventArgs e) { if (openFileDialog.ShowDialog() == DialogResult.OK) {