コード例 #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();
        }