예제 #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;
            }
        }