private void btnBrowseOutputFolder_Click(object sender, EventArgs e) { if (folderBrowserOutputDir.ShowDialog() == System.Windows.Forms.DialogResult.OK) { txtOutputDirectory.Text = folderBrowserOutputDir.SelectedPath; } }