using KGIS.Framework.Commands; using KGIS.Framework.Utils; using KGIS.Framework.Utils.Helper; using Kingo.Plugin.DataLoad.View; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kingo.Plugin.DataLoad.Commands { public class CmdLoadGJWTTB : BaseMenuCommand { public override void OnCreate(object hook) { //throw new NotImplementedException(); } public override void OnClick() { try { FrmLoadGJWTTB main = new FrmLoadGJWTTB(); main.Width = 400; main.Height = 160; main.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen; main.ShowInMainWindow(false); } catch (Exception ex) { LogAPI.Debug(ex); MessageHelper.ShowError("举证成果加载出现错误,可能的原因是:" + ex.Message); } } } }