Example #1
0
 private void backup_Click(object sender, EventArgs e)
 {
     if (DBSync.backup(backupLocationText.Text))
     {
         MessageBox.Show("Done!", "Backup database", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     else
     {
         MessageBox.Show("Could not backup. Please check that the path \nspecified is correct and that you have write permissions.", "Backup database", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }