年度变更建库软件5.0版本
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.1 KiB

6 months ago
using KGIS.Framework.Utils;
using Kingo.Plugin.BGResultManager.ViewModel;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Forms;
namespace Kingo.Plugin.BGResultManager.View
{
/// <summary>
/// FrmResultsExport.xaml 的交互逻辑
/// </summary>
public partial class FrmResultsExport : BaseWindow
{
List<ResultsCatalog> catalogTree = null;
public FrmResultsExport()
{
InitializeComponent();
DataContext = new ExportViewModel();
}
private void btnSelectDir_Click(object sender, RoutedEventArgs e)
{
FolderBrowserDialog dialog = new FolderBrowserDialog();
//dialog.IsFolderPicker = true;
System.Windows.Forms.DialogResult result = dialog.ShowDialog();
if (result == System.Windows.Forms.DialogResult.OK)
{
txtOutDir.Text = dialog.SelectedPath;
}
}
private void btnCancel_Click(object sender, RoutedEventArgs e)
{
this.Close();
}
}
}