private void mnuViewAttributes_Click(object sender, EventArgs e) { if (this._selectedLayerInfos == null || this._selectedLayerInfos.LayerType == (short)MapObjects2.LayerTypeConstants.moImageLayer) { return; } MapUtil.MapOperation oMapOper = new MapConfigure.MapUtil.MapOperation(); frmAttributesData oFrmAttributeData = new frmAttributesData(oMapOper.GetLayerByName(GlobeVariables.MapControl, this._selectedLayerInfos.AliasName) as MapObjects2.MapLayer); oFrmAttributeData.ShowDialog(); }
private void mnuViewAttributes_Click(object sender, EventArgs e) { if (this._selectedLayer == null || this._selectedLayer is MapObjects2.ImageLayer) { return; } MapUtil.MapOperation oMapOper = new MapConfigure.MapUtil.MapOperation(); frmAttributesData oFrmAttributeData = new frmAttributesData(this._selectedLayer as MapObjects2.MapLayer); oFrmAttributeData.ShowDialog(); }
private void mnuViewAttributes_Click(object sender, EventArgs e) { if (this._selectedLayerInfos == null || this._selectedLayerInfos.LayerType == (short)MapObjects2.LayerTypeConstants.moImageLayer) return; MapUtil.MapOperation oMapOper = new MapConfigure.MapUtil.MapOperation(); frmAttributesData oFrmAttributeData = new frmAttributesData(oMapOper.GetLayerByName(GlobeVariables.MapControl, this._selectedLayerInfos.AliasName) as MapObjects2.MapLayer); oFrmAttributeData.ShowDialog(); }