亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? selecttooltask.cs

?? C#開發的ArcGIS Server9.2地圖選擇控件
?? CS
?? 第 1 頁 / 共 3 頁
字號:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing.Design;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ESRI.ArcGIS.ADF.Web;
using ESRI.ArcGIS.ADF.Web.DataSources;
using ESRI.ArcGIS.ADF.Web.DataSources.Graphics;
using ESRI.ArcGIS.ADF.Web.Display.Graphics;
using ESRI.ArcGIS.ADF.Web.Display.Symbol;
using ESRI.ArcGIS.ADF.Web.Geometry;
using ESRI.ArcGIS.ADF.Web.UI.WebControls;
using ESRI.ArcGIS.ADF.Web.UI.WebControls.Tools;

namespace SelectToolTask
{
    /// <summary>
    /// Allows user to select features on the Map control by drawing a graphic.
    /// </summary>
    [ToolboxData("<{0}:SelectToolTask runat=\"server\" Width=\"200px\" Transparency=\"35\" BackColor=\"White\" TitleBarColor=\"WhiteSmoke\" TitleBarSeparatorLine=\"False\" TitleBarHeight=\"20px\" BorderColor=\"LightSteelBlue\" BorderStyle=\"Outset\" BorderWidth=\"1px\" Font-Names=\"Verdana\" Font-Size=\"8pt\" ForeColor=\"Black\"> </{0}:SelectToolTask>"),
    Designer(typeof(SelectToolTaskDesigner)),
    WebConfigurator(typeof(SelectToolTaskWebConfigurator)),
    System.Drawing.ToolboxBitmap(typeof(SelectToolTask))]
    public class SelectToolTask : FloatingPanelTask
    {
        #region Private members
        Map mapCtrl;
        string mapResMgr;
        private string idStringDelim = "___";
        DropDownList ddlLayerList;
        Toolbar selectToolbar;
        #endregion

        #region Public properties

        /// <summary>
        /// Selection toleratnce around points, in pixels.
        /// </summary>
        [Browsable(true),
        Category("SelectToolTask"),
        DefaultValue(3),
        Description("Tolerance around point selection, in pixels. Must be greater than zero to select features in point and line layers."),
        PersistenceMode(PersistenceMode.Attribute)]
        public int PointSelectionTolerance
        {
            get
            {
                object o = StateManager.GetProperty("selectionTolerance");
                return (o == null) ? 3 : (int)o;
            }
            set
            {
                StateManager.SetProperty("selectionTolerance", value);
            }
        }

        /// <summary>
        /// Whether to make previous selections in the TaskResults invisible
        ///  when the user makes a new selection.
        /// </summary>
        [Browsable(true),
        Category("SelectToolTask"),
        DefaultValue(true),
        Description("Whether to make previous selections in the TaskResults invisible when the user makes a new selection."),
        PersistenceMode(PersistenceMode.Attribute)]
        public bool HidePreviousSelections
        {
            get
            {
                object o = StateManager.GetProperty("hidePreviousSelections");
                return (o == null) ? true : (bool)o;
            }
            set
            {
                StateManager.SetProperty("hidePreviousSelections", value);
            }
        }

        /// <summary>
        /// Whether to render (highlight) all features upon selection. 
        /// If true, individual features may be highlighted by clicking 
        /// feature check-boxes in the Task Results, but the all-feature 
        /// rendering cannot be turned off without also turning off individual highlights.
        /// </summary>
        [Browsable(true),
        Category("SelectToolTask"),
        DefaultValue(true),
        Description("Whether to render (highlight) all features upon selection. If true, individual features may be highlighted by clicking feature check-boxes in the Task Results, but the all-feature rendering cannot be turned off without also turning off individual highlights."),
        PersistenceMode(PersistenceMode.Attribute)]
        public bool RenderSelectedSet
        {
            get
            {
                object o = StateManager.GetProperty("renderAllSelectedFeatures");
                return (o == null) ? true : (bool)o;
            }
            set
            {
                StateManager.SetProperty("renderAllSelectedFeatures", value);
            }
        }

        /// <summary>
        /// Color to render all features in the selected set. 
        /// Used only when RenderAllSelectedFeatures is true.
        /// </summary>
        [Browsable(true),
        Category("SelectToolTask"),
        DefaultValue(typeof(System.Drawing.Color), "Yellow"),
        Description("Color to render all features in the selected set. Used only when RenderAllSelectedFeatures is true."),
        PersistenceMode(PersistenceMode.Attribute)]
        public System.Drawing.Color SelectedSetColor
        {
            get
            {
                object o = StateManager.GetProperty("selectedSetColor");
                return (o == null) ? System.Drawing.Color.Yellow : (System.Drawing.Color)o;
            }
            set
            {
                StateManager.SetProperty("selectedSetColor", value);
            }
        }

        /// <summary>
        /// Title for the item in Task Results. Layer name and number of features is added.
        /// </summary>
        [Browsable(true),
        Category("SelectToolTask"),
        DefaultValue("Selection"),
        Description("Title for the item in Task Results. Layer name and number of features is added."),
        PersistenceMode(PersistenceMode.Attribute)]
        public string ResultsTitle
        {
            get
            {
                object o = StateManager.GetProperty("resultsTitle");
                return (o == null) ? "Selection" : o as string;
            }
            set
            {
                StateManager.SetProperty("resultsTitle", value);
            }
        }

        /// <summary>
        /// Layers that the user may choose from for selection.
        /// Separate names with double colon (::). If null or 
        /// empty (the default), any vector layer may be chosen. If only 
        /// one layer, no layer drop-down choice list is displayed to the user.
        /// </summary>
        [Browsable(true),
        Category("SelectToolTask"),
        DefaultValue(""),
        Description("Layers that the user may choose from for selection. Separate names with double colon (::). If null or empty (the default), any vector layer may be chosen. If only one layer, no layer drop-down choice list is displayed to the user."),
        Editor(typeof(SelectionLayersEditor), typeof(UITypeEditor)),
        PersistenceMode(PersistenceMode.Attribute)]
        public string SelectionLayerNames
        {
            get
            {
                object o = StateManager.GetProperty("selectionLayerNames");
                return (o == null) ? String.Empty : (string)o;
            }
            set
            {
                string names = (value == null) ? String.Empty : value;
                StateManager.SetProperty("selectionLayerNames", names);
            }
        }
        
        /// <summary>
        /// ID of Map control to select from
        /// </summary>
        [Browsable(true),
        Category("SelectToolTask"),
        DefaultValue("Map1"),
        Description("ID of Map control to use for selection. If blank, first map control found is used."),
        Editor(typeof(MapControlEditor), typeof(UITypeEditor)),
        PersistenceMode(PersistenceMode.Attribute)]
        public string Map
        {
            get
            {
                object o = StateManager.GetProperty("map");
                return (o == null) ? "Map1" : o as string;
            }
            set
            {
                StateManager.SetProperty("map", value);
            }
        }

        /// <summary>
        /// Layer to select from.
        /// Set dynamically when user picks layer from dropdownlist, or from 
        /// SelectionLayerIds if only one layer specified.
        /// </summary>
        [Browsable(false)]
        public string SelectLayerId
        {
            get
            {
                object o = StateManager.GetProperty("selectLayerId");
                return (o == null) ? String.Empty : (string)o;
            }
            set
            {
                StateManager.SetProperty("selectLayerId", value);
            }
        }

        /// <summary>
        /// Map resource that contains layer with SelectLayerId.
        /// </summary>
        [Browsable(false)]
        public string SelectMapResource
        {
            get
            {
                object o = StateManager.GetProperty("selectMapResource");
                return (o == null) ? String.Empty : (string)o;
            }
            set
            {
                StateManager.SetProperty("selectMapResource", value);
            }
        }

        /// <summary>
        /// Geometry for selection created by user with SelectTool
        /// </summary>
        protected internal ESRI.ArcGIS.ADF.Web.Geometry.Geometry SelectionGeometry
        {
            get
            {
                Type geomType = StateManager.GetProperty("geometryType") as Type;
                string geomString = StateManager.GetProperty("selectionGeometry") as string;
                if (geomType == null || String.IsNullOrEmpty(geomString)) return null;

                ESRI.ArcGIS.ADF.Web.Geometry.Geometry geom =
                    DeserializeGeometry(geomString, geomType);
                return geom;
            }
            set
            {
                string geomSer = SerializeGeometry(value);
                StateManager.SetProperty("geometryType", value.GetType());
                StateManager.SetProperty("selectionGeometry", geomSer);
            }
        }

        /// <summary>
        /// Used internally to store the current map control height and width
        /// </summary>
        protected internal int MapWidth
        {
            get
            {
                object o = StateManager.GetProperty("mapWidth");
                return (o == null) ? 0 : (int)o;
            }
            set
            {
                StateManager.SetProperty("mapWidth", value);
            }
        }
        protected internal int MapHeight
        {
            get
            {
                object o = StateManager.GetProperty("mapHeight");
                return (o == null) ? 0 : (int)o;
            }
            set
            {
                StateManager.SetProperty("mapHeight", value);
            }
        }


        #endregion

        #region Web control overrides - CreateChildControls, OnPreRender, Rendering

        #region CreateChildControls method
        protected override void CreateChildControls()
        {
            // Note that we do most rendering-related chores in
            // OnPreRender() and RenderContents(). This is more efficient
            // because CreateChildControls runs every callback, whereas
            // rendering methods run only on full postback. We only do
            // what's needed here to add controls so the callback code
            // can work with the controls.

            Controls.Clear();

             // Add drop-down list of layers available for selection
            ddlLayerList = new DropDownList();
            ddlLayerList.ID = ClientID + "_ddlLayerList";
            Controls.Add(ddlLayerList);

            // create toolbar to hold selection button
            // (Note that need to readd toolbar each request in order to find
            //  newly clicked tools)
            selectToolbar = new Toolbar();
            selectToolbar.ID = ClientID + "_selToolbar";
            Controls.Add(selectToolbar);

            base.CreateChildControls();
        }
        #endregion

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩视频在线观看一区二区三区| 国产成人无遮挡在线视频| 欧美日韩一区二区在线视频| 亚洲激情在线激情| 91亚洲国产成人精品一区二区三| 国产拍揄自揄精品视频麻豆| 欧美三级电影网| 午夜精品123| 国产精品久久久久aaaa樱花| 91麻豆精品秘密| 成人晚上爱看视频| 美日韩一区二区| 亚洲三级在线播放| 中文字幕精品在线不卡| 欧美一区二区精品| 欧美色综合影院| 国产精品亚洲第一 | 久久综合色8888| 成人污视频在线观看| 蜜臀av性久久久久蜜臀aⅴ流畅 | 91麻豆精品国产91久久久久久| 91亚洲精华国产精华精华液| 免费在线观看一区| 亚洲成人先锋电影| 国产视频911| 欧美成人官网二区| 久久精品日产第一区二区三区高清版 | www.欧美日韩| 精品一区二区成人精品| 亚洲女厕所小便bbb| 中文乱码免费一区二区| 国产欧美一区二区三区沐欲| 久久新电视剧免费观看| 欧美一级欧美三级| 欧美天堂一区二区三区| 欧美日韩在线不卡| 欧美一区在线视频| 日韩一二三区视频| 日韩天堂在线观看| 日韩欧美高清一区| 久久久久久久久久看片| 精品久久久久久久久久久久包黑料| 在线播放国产精品二区一二区四区 | 国产精品黄色在线观看| 欧美电视剧免费全集观看| 精品国产免费视频| 中国av一区二区三区| **欧美大码日韩| 亚洲高清一区二区三区| 亚洲国产美国国产综合一区二区| 亚洲一区二区不卡免费| 美脚の诱脚舐め脚责91 | 欧美视频自拍偷拍| 在线免费观看一区| 日韩欧美黄色影院| 亚洲大片一区二区三区| 成人免费高清在线| 久久综合色一综合色88| 亚洲精品少妇30p| 国产91高潮流白浆在线麻豆| 日韩欧美国产一区二区三区| 日韩成人免费在线| 国模冰冰炮一区二区| 日本道在线观看一区二区| 久久久亚洲午夜电影| 日韩不卡手机在线v区| 色婷婷综合久久久中文字幕| 久久毛片高清国产| 日本网站在线观看一区二区三区| 91视频免费看| 一区精品在线播放| 高清在线观看日韩| 久久精品视频一区| 国产乱码精品一区二区三 | 国产黄色精品视频| 精品人伦一区二区色婷婷| 日韩av二区在线播放| 欧美精品xxxxbbbb| 午夜欧美电影在线观看| 在线亚洲欧美专区二区| 专区另类欧美日韩| 在线91免费看| 亚洲午夜在线电影| 国产1区2区3区精品美女| 在线观看视频91| 88在线观看91蜜桃国自产| 亚洲欧美电影院| 国产aⅴ综合色| 日韩精品一区二| 国产精品资源站在线| 久久理论电影网| 日韩精品一级中文字幕精品视频免费观看 | 欧美高清dvd| 日本美女视频一区二区| 日韩无一区二区| 狠狠色丁香久久婷婷综合_中| 337p粉嫩大胆噜噜噜噜噜91av| 免费精品视频最新在线| 久久在线免费观看| 成人黄页在线观看| 亚洲综合色噜噜狠狠| 7777精品伊人久久久大香线蕉经典版下载| 亚洲一二三专区| 欧美电影免费观看高清完整版在| 国产精品影视在线| 亚洲三级在线免费观看| 正在播放亚洲一区| 国产精品一区二区不卡| 亚洲女同一区二区| 日韩一区二区视频| 99久久亚洲一区二区三区青草| 亚洲国产综合在线| 久久精品夜色噜噜亚洲a∨| 91丨porny丨国产入口| 日本亚洲电影天堂| 国产精品美女一区二区在线观看| 欧美视频一区二区三区四区| 国内不卡的二区三区中文字幕 | 欧美日韩国产一级| 成人黄色软件下载| 麻豆高清免费国产一区| 亚洲人一二三区| 久久蜜桃av一区精品变态类天堂 | www.一区二区| 毛片av一区二区三区| 亚洲乱码中文字幕综合| 久久伊人中文字幕| 欧美美女bb生活片| 99视频精品在线| 国产精品综合网| 日本欧美一区二区三区| 玉米视频成人免费看| 欧美国产日韩亚洲一区| 日韩精品影音先锋| 欧美日韩和欧美的一区二区| av一区二区三区| 国产成人一区在线| 精品一区二区三区在线观看国产 | 色综合久久天天| 丰满放荡岳乱妇91ww| 日韩欧美在线1卡| 久久夜色精品一区| 2017欧美狠狠色| 久久精品国产澳门| 国产精品一卡二| 91污在线观看| 欧美电影一区二区三区| 欧美不卡一区二区| 国产欧美一区二区精品忘忧草| 中文字幕在线观看不卡| 亚洲综合小说图片| 欧美bbbbb| 国产伦理精品不卡| 色一情一伦一子一伦一区| 欧美日韩mp4| 久久先锋影音av鲁色资源网| 国产精品三级av| 亚洲国产裸拍裸体视频在线观看乱了 | 成人高清免费在线播放| 91浏览器在线视频| 欧美猛男超大videosgay| 欧美大胆人体bbbb| 国产三区在线成人av| 亚洲制服丝袜在线| 国产精品88888| 欧美日韩亚洲综合一区| 久久新电视剧免费观看| 亚洲国产欧美在线| 丰满岳乱妇一区二区三区| 欧美一区中文字幕| 亚洲欧美一区二区久久| 美国毛片一区二区| 精品久久一二三区| 国产精品久久久久久久久晋中| 午夜天堂影视香蕉久久| 成人少妇影院yyyy| 日韩视频一区二区在线观看| 亚洲免费观看高清完整| 国产综合色精品一区二区三区| 色婷婷精品久久二区二区蜜臀av| 91 com成人网| 伊人婷婷欧美激情| 99久久精品国产网站| 日韩西西人体444www| 亚洲一区在线视频| 99国产精品久久| 国产精品久久久久久户外露出| 国产麻豆成人传媒免费观看| 4438x成人网最大色成网站| 日韩电影在线观看网站| 555www色欧美视频| 老司机精品视频在线| 精品99999| 国产主播一区二区三区| 91麻豆精品国产91久久久使用方法 | 欧美日韩国产高清一区二区三区| 亚洲欧洲另类国产综合| 高清在线成人网| 中文字幕一区二区三区不卡| 成人免费精品视频|