//================================================================================ void ButSavePetsClick(object sender, EventArgs e) { if (saveBackupDlg.ShowDialog() == System.Windows.Forms.DialogResult.OK) { string savePath = saveBackupDlg.FileName; CajApp.saveBackup(savePath); } }