Пример #1
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     var dlg = new Dialogs.FolderPickerDialog();
     if (dlg.ShowDialog()==true)
     {
         Core.Settings.Default.LocusFolderName = dlg.SelectedPath;
     }
 }
Пример #2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            var dlg = new Dialogs.FolderPickerDialog();

            if (dlg.ShowDialog() == true)
            {
                Core.Settings.Default.LocusFolderName = dlg.SelectedPath;
            }
        }
Пример #3
0
        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;
            }
        }