Ejemplo n.º 1
0
 private void MyPlaceLayerOpaqueMenuItem_Click(object sender, EventArgs e)
 {
     GSOLayer layer = (GSOLayer)globeControl1.Globe.MemoryLayer;
     if (layer != null)
     {
         FrmSetLayerOpaque dlg = new FrmSetLayerOpaque();
         dlg.globe = globeControl1.Globe;
         dlg.layer = layer;
         dlg.Show(this);
     }
 }
Ejemplo n.º 2
0
 private void LayerOpaqueMenuItem_Click(object sender, EventArgs e)
 {
     TreeNode node = layerNodeContexMenu.Tag as TreeNode;
     GSOLayer layer = node.Tag as GSOLayer;
     if (layer != null)
     {
         FrmSetLayerOpaque dlg = new FrmSetLayerOpaque();
         dlg.globe = globeControl1.Globe ;
         dlg.layer = layer;
         dlg.Show(this);
     }
 }