Example #1
0
        private void mnuSetProperty_Click(object sender, EventArgs e)
        {
            MapUtil.MapOperation oMapOper          = new MapConfigure.MapUtil.MapOperation();
            object             oLayer              = oMapOper.GetLayerByName(GlobeVariables.MapControl, this._selectedLayerInfos.AliasName);
            frmLayerProperties oFrmLayerProperties = new frmLayerProperties(this._mapObject, oLayer);

            oFrmLayerProperties.ShowDialog();
        }
Example #2
0
        private void mnuSetProperty_Click(object sender, EventArgs e)
        {
            MapUtil.MapOperation oMapOper          = new MapConfigure.MapUtil.MapOperation();
            object             oLayer              = this._mapObject.Layers.Item(this.mapLegend.getActiveLayer());
            frmLayerProperties oFrmLayerProperties = new frmLayerProperties(this._mapObject, oLayer);

            if (oFrmLayerProperties.ShowDialog() == DialogResult.OK)
            {
                this.mapLegend.LoadLegend();
            }
        }
Example #3
0
        private void mnuSetProperty_Click(object sender, EventArgs e)
        {
            MapUtil.MapOperation oMapOper = new MapConfigure.MapUtil.MapOperation();
            object oLayer = oMapOper.GetLayerByName(GlobeVariables.MapControl, this._selectedLayerInfos.AliasName);
            frmLayerProperties oFrmLayerProperties = new frmLayerProperties(this._mapObject,oLayer);

            oFrmLayerProperties.ShowDialog();
        }