Esempio n. 1
0
        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();
        }
Esempio n. 2
0
        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();
        }
Esempio n. 3
0
        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();
        }