From 072e59bd4a5ed73ae3b2896ccdf3b9456d7a0d52 Mon Sep 17 00:00:00 2001 From: efrick Date: Mon, 5 Aug 2024 14:36:07 -0400 Subject: [PATCH] Update configuration code to use the new configuration keys. --- ConfForm.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ConfForm.cs b/ConfForm.cs index 9fa2c9f..b1dc462 100644 --- a/ConfForm.cs +++ b/ConfForm.cs @@ -96,7 +96,15 @@ namespace PDF_Merge private void outPathBtn_Click(object sender, EventArgs e) { - using (var OutPathPicker = new OpenFileDialog()) { } + using (var OutPathPicker = new FolderBrowserDialog()) + { + OutPathPicker.RootFolder = Environment.SpecialFolder.Desktop; + if (OutPathPicker.ShowDialog() == DialogResult.OK) + { + var OutPath = OutPathPicker.SelectedPath; + outputBox.Text = OutPath; + } + } } } }