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.
46 lines
1.5 KiB
46 lines
1.5 KiB
using ESRI.ArcGIS.Carto; |
|
using ESRI.ArcGIS.Geodatabase; |
|
using System; |
|
using System.Collections.Generic; |
|
using System.Linq; |
|
using System.Text; |
|
using System.Threading.Tasks; |
|
using System.Windows; |
|
using System.Windows.Controls; |
|
using System.Windows.Data; |
|
using System.Windows.Documents; |
|
using System.Windows.Input; |
|
using System.Windows.Media; |
|
using System.Windows.Media.Imaging; |
|
using System.Windows.Navigation; |
|
using System.Windows.Shapes; |
|
|
|
namespace Kingo.Plugin.BGSetting.View.ViewSystemSetting |
|
{ |
|
/// <summary> |
|
/// 辅助工具页 的交互逻辑 |
|
/// </summary> |
|
public partial class ViewAuxiliaryTools : UserControl |
|
{ |
|
private FeatureLayer BG_FL = null; |
|
private FeatureLayer DLTBGX_FL = null; |
|
private FeatureLayer DLTBGXGC_FL = null; |
|
private FeatureLayer XZQ_FL = null; |
|
private FeatureLayer XZQGX_FL = null; |
|
private FeatureLayer XZQGXGC_FL = null; |
|
private FeatureLayer CZCDYD_FL = null; |
|
private FeatureLayer CZCDYDGX_FL = null; |
|
private FeatureLayer CZCDYDGXGC_FL = null; |
|
|
|
public ViewAuxiliaryTools() |
|
{ |
|
InitializeComponent(); |
|
} |
|
|
|
private void DelectFeatureLayerByName(string layerName) |
|
{ |
|
IFeatureLayer featureTemp = KGIS.Framework.Maps.MapsManager.Instance.MapService.GetFeatureLayerByName(layerName); |
|
(featureTemp.FeatureClass as FeatureClass).Workspace.ExecuteSQL($"Delect From {layerName} Where 1=1"); |
|
} |
|
} |
|
}
|
|
|