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.
|
|
|
|
using KGIS.Framework.Utils;
|
|
|
|
|
using Kingo.Plugin.BGResultManager.ViewModel;
|
|
|
|
|
using System.Windows;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
namespace Kingo.Plugin.BGResultManager.View
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预变更成果导出 的交互逻辑
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class FrmResultsExportForTheYBGCG : BaseWindow
|
|
|
|
|
{
|
|
|
|
|
public string sTheNMKPath;
|
|
|
|
|
|
|
|
|
|
public FrmResultsExportForTheYBGCG()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
DataContext = new ExportYBGCGViewModel();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void btnSelectDir_Click(object sender, RoutedEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
FolderBrowserDialog dialog = new FolderBrowserDialog();
|
|
|
|
|
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();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|