private void Button_Click(object sender, RoutedEventArgs e) { var dlg = new Dialogs.FolderPickerDialog(); if (dlg.ShowDialog()==true) { Core.Settings.Default.LocusFolderName = dlg.SelectedPath; } }
private void Button_Click(object sender, RoutedEventArgs e) { var dlg = new Dialogs.FolderPickerDialog(); if (dlg.ShowDialog() == true) { Core.Settings.Default.LocusFolderName = dlg.SelectedPath; } }
private void Button_Click(object sender, RoutedEventArgs e) { var dlg = new Dialogs.FolderPickerDialog(); // Show open file dialog box Nullable <bool> result = dlg.ShowDialog(); // Process open file dialog box results if (result == true) { // Open document Core.Settings.Default.HTMLTargetPath = dlg.SelectedPath; } }