private void SelectDestination_Click(object sender, EventArgs e) { FolderBrowserDialog folderBrowserDialog = FolderFileSelectDialog.GetFolderDialog("Destination Folder"); if (folderBrowserDialog.ShowDialog() == DialogResult.OK) { metroDestinationTextBox.Text = folderBrowserDialog.SelectedPath; } }
private void ButtonFrom_Click(object sender, EventArgs e) { FolderBrowserDialog folderBrowserDialog = FolderFileSelectDialog.GetFolderDialog("Source Folder"); if (folderBrowserDialog.ShowDialog() == DialogResult.OK) { metroFromTextBox.Text = folderBrowserDialog.SelectedPath; } }