SuperMap.Connector.Control.Forms.GraphicsLayer.GraphicsLayer C# (CSharp) Method

GraphicsLayer() public method

构造函数。
public GraphicsLayer ( string id, string name ) : System
id string 几何对象图层id。
name string 几何对象图层名称。
return System
        public GraphicsLayer(string id, string name)
            : base(id, name)
        {
            this.Polygons.CollectionChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(Polygons_CollectionChanged);
            this.Lines.CollectionChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(Lines_CollectionChanged);
            this.Markers.CollectionChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(Markers_CollectionChanged);
        }