private void SaveSessionAs() { if (saveFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK) { try { if (SaverLoader.SaveSession(ReadSession(), saveFileDialog1.FileName)) { InformationMessageBox("Saved!"); } } catch (Exception ex) { MessageBox.Show(ex.Message); } } }
private void SaveSession() { SaverLoader.SaveSession(ReadSession()); }