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.
		
		
		
		
		
			
		
			
				
					
					
						
							33 lines
						
					
					
						
							1.1 KiB
						
					
					
				
			
		
		
	
	
							33 lines
						
					
					
						
							1.1 KiB
						
					
					
				using ESRI.ArcGIS.Carto; | 
						|
using ESRI.ArcGIS.Geodatabase; | 
						|
using System.Windows.Controls; | 
						|
 | 
						|
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"); | 
						|
        } | 
						|
    } | 
						|
}
 | 
						|
 |