예제 #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();
        }
예제 #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();
            }
        }
예제 #3
0
파일: frmLegend~1.cs 프로젝트: uwitec/gvms
        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();
        }