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(); }
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(); } }
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(); }