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