private void btnSelectDir_Click(object sender, EventArgs e) { FolderBrowserDialog f = new FolderBrowserDialog(); f.ShowNewFolderButton = true; if (f.ShowDialog(this.ParentForm) == DialogResult.OK) { this.txtBackupDir.Text = Foundation.PathAdd(f.SelectedPath); } }