using KGIS.Framework.Utils; using Kingo.Plugin.BGResultManager.ViewModel; using System.Windows; using System.Windows.Forms; namespace Kingo.Plugin.BGResultManager.View { /// /// 预变更成果导出 的交互逻辑 /// 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(); } } }