using KGIS.Framework.Utils; using KGIS.Framework.Utils.Helper; using Kingo.Plugin.IDS.Helper; using KUI.Windows; using System; using System.Windows; namespace Kingo.Plugin.IDS.View { /// /// 增量数据生成 /// IncrementalDataGeneration.xaml 的交互逻辑 /// public partial class IncrementalAggregation : BaseWindow { public IncrementalAggregation() { InitializeComponent(); } private void btn_oK_Click(object sender, RoutedEventArgs e) { try { this.ShowLoading("正在进行增量汇总...", 0, 0); ZLHZHelper zLHZHelper = new ZLHZHelper(); zLHZHelper.Implement(); this.CloseLoading(); MessageHelper.Show("变更一览表生成完成!"); } catch (Exception ex) { MessageHelper.ShowError("执行增量汇总错误:" + ex.Message); } finally { this.CloseLoading(); } } private void btn_nO_Click(object sender, RoutedEventArgs e) { this.Close(); } } }