private void performDatabaseBackupButton_Click(object sender, EventArgs e) { var path = DialogHelper.OpenFolderBrowserDialog(Strings.ConfigurationForm_SelectDatabaseBackupDirectory); if (string.IsNullOrEmpty(path)) { return; } WaitFor.Execution(() => _managementService.BackupDatabase(path)); }