private void ButtonBrowseOutput_Click(object sender, EventArgs e) { if (FBDOutput.ShowDialog() == DialogResult.OK) { TBOutputPath.Text = FBDOutput.SelectedPath; } }
private void btnChooseOutput_Click(object sender, EventArgs e) { try { if (FBDOutput.ShowDialog() != DialogResult.OK) return; tbOutputPath.Text = $"Output Path: {FBDOutput.SelectedPath}"; } catch (Exception ex) { MessageBox.Show(ex.Message, ex.GetType().FullName, MessageBoxButtons.OK, MessageBoxIcon.Error); } }