/// <summary> /// Opens the open dialog box and calls the Load function in SaveAndLoad class /// </summary> private new void Load() { if (openFileDialog1.ShowDialog() == DialogResult.OK) { SaveAndLoad.Load(openFileDialog1.FileName); } }
/// <summary> /// Opens the save dialog box and calls the Save function in SaveAndLoad class /// </summary> private void Save() { if (saveFileDialog1.ShowDialog() == DialogResult.OK) { SaveAndLoad.Save(saveFileDialog1.FileName); } }