using ESRI.ArcGIS.Carto; using Kingo.Plugin.BGResultManager.View; using Kingo.PluginServiceInterface; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kingo.Plugin.BGResultManager.Services { public class BGResultFormHelper : IBGResultFormHelper { public FrmGCDataToSHPGTY frmGCDataToSHPGTY = null; public void InitView(IFeatureLayer layer) { frmGCDataToSHPGTY = new FrmGCDataToSHPGTY(layer) { WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen }; frmGCDataToSHPGTY.ShowInMainWindow(true); } } }