public FrmBatchExportLayerByZ(GSOGlobeControl globeControl1) { InitializeComponent(); this.globeControl1 = globeControl1; for (int i = 0; i < globeControl1.Globe.Layers.Count; i++) { TreeNode node = new TreeNode(); node.Text = globeControl1.Globe.Layers[i].Caption; node.Tag = globeControl1.Globe.Layers[i]; treeView1.Nodes.Add(node); } }
public FrmBatchUpadateColor(GeoScene.Globe.GSOGlobeControl globeControl) { InitializeComponent(); mGlobeControl = globeControl; }
public MainFrm() { InitializeComponent(); globeControl1 = new GeoScene.Globe.GSOGlobeControl(); dataMananger1 = new GeoScene.Engine.GSODataManager(); panelGlobeControl.Controls.Add(globeControl1); globeControl1.Dock = DockStyle.Fill; layerTree.ImageList = treeImageList; layerTree.Dock = DockStyle.Fill; controlContainerItem2.Control = panelFind; panelFind.Dock = DockStyle.Fill; treeFind.ImageList = treeImageList; featureTooltip = new GSOBalloon(globeControl1.Handle); featureTooltip.CacheFilePath = Application.StartupPath + "/GeoScene/Globe/Temp"; featureTooltip.SetSize(EnumSizeIndex.ROUNDED_CX, 0); featureTooltip.SetSize(EnumSizeIndex.ROUNDED_CY, 0); featureTooltip.SetSize(EnumSizeIndex.MARGIN_CX, 3); featureTooltip.SetSize(EnumSizeIndex.MARGIN_CY, 3); featureTooltip.SetSize(EnumSizeIndex.ANCHOR_HEIGHT, 0); featureTooltip.SetSize(EnumSizeIndex.ANCHOR_WIDTH, 0); featureTooltip.SetSize(EnumSizeIndex.ANCHOR_MARGIN, 0); featureTooltip.SetSize(EnumSizeIndex.ANCHOR_OFFSET_CX, 1); featureTooltip.SetSize(EnumSizeIndex.ANCHOR_OFFSET_CY, -1); featureTooltip.SetDirection(EnumToolTipDirection.TD_BOTTOMEDGE_LEFT); featureTooltip.EscapeSequencesEnabled = true; featureTooltip.HyperlinkEnabled = true; featureTooltip.Opaque = 30; //30; featureTooltip.MaxWidth = 300; featureTooltip.SetShadow(0, 0, 50, true, 0, 0); infoBalloon = new GSOBalloon(globeControl1.Handle); infoBalloon.SetColorBkType(EnumBkColorType.SILVER); infoBalloon.SetEffectBk(EnumBkEffect.HBUMP, 0); infoBalloon.SetBorder(Color.FromArgb(255, 171, 171, 171), 1, 1); infoBalloon.SetSize(EnumSizeIndex.ROUNDED_CX, 5); infoBalloon.SetSize(EnumSizeIndex.ROUNDED_CY, 5); infoBalloon.SetSize(EnumSizeIndex.ANCHOR_HEIGHT, 20); infoBalloon.SetSize(EnumSizeIndex.ANCHOR_WIDTH, 12); infoBalloon.SetShadow(3, 3, 50, true, 0, 0); infoBalloon.MaxWidth = 300; infoBalloon.CloseButtonVisible = true; balloonEx = new GSOBalloonEx(globeControl1.Handle); balloonEx.SetSize(EnumSizeIndexEx.ANCHOR_WIDTH, 30); balloonEx.SetColorBkType(EnumBkColorTypeEx.SILVER); balloonEx.SetEffectBk(EnumBkEffectEx.OUTRANGE, 10); balloonEx.CacheFilePath = Application.StartupPath + "/GeoScene/Globe/Temp"; }
public FrmBatchCreatePipeDitch(GSOGlobeControl _ctl) { ctl = _ctl; InitializeComponent(); }
public FrmPipedrain(GSOGlobeControl _ctl) { ctl = _ctl; InitializeComponent(); }
public FrmAddWell(GeoScene.Globe.GSOGlobeControl _globeControl1, GSODataSource _ds) { globeControl1 = _globeControl1; ds = _ds; InitializeComponent(); }
public FrmPipelineModelDB(GSOGlobeControl _globeControl1) { globeControl1 = _globeControl1; InitializeComponent(); }
public static GSOFeatures Table2Features(DataTable table, string currentQueryLayer, GeoScene.Globe.GSOGlobeControl globeControl1) { GSOFeatures features = new GSOFeatures(); for (int i = 0; i < table.Rows.Count; i++) { DataRow row = table.Rows[i]; string featureName = row["编号"].ToString(); featureName = featureName.Trim(); GSOLayer layer = globeControl1.Globe.Layers.GetLayerByCaption(currentQueryLayer); GSOFeatures tempfeatures = layer.GetFeatureByName(featureName, false); if (tempfeatures.Length > 0) { features.Add(tempfeatures[0]); } } return(features); }
public FrmPaiShui2DB(GSOGlobeControl _globeControl1) { globeControl1 = _globeControl1; InitializeComponent(); }
public FrmAddYuBiZiShp(GeoScene.Globe.GSOGlobeControl _globeControl1) { globeControl1 = _globeControl1; InitializeComponent(); }
public FrmShp2KML(GSOGlobeControl _ctl) { ctl = _ctl; InitializeComponent(); }
public FrmBatchUpadateFontOfMarkers(GeoScene.Globe.GSOGlobeControl globeControl) { InitializeComponent(); mGlobeControl = globeControl; }
public FrmNewDBFeatureDataset(GSOGlobeControl _globeControl1) { globeControl1 = _globeControl1; InitializeComponent(); }
public FrmBatchCreateModel(GeoScene.Globe.GSOGlobeControl _globeControl1) { InitializeComponent(); globeControl1 = _globeControl1; }
private ArrayList modeltypes = new ArrayList(); // 井的型号 #endregion Fields #region Constructors public FrmBatchCreateModel(GeoScene.Globe.GSOGlobeControl _globeControl1) { InitializeComponent(); globeControl1 = _globeControl1; }
public FrmAddWellShp(GeoScene.Globe.GSOGlobeControl _globeControl1) { globeControl1 = _globeControl1; InitializeComponent(); }
private ArrayList modeltypes = new ArrayList(); // 井的型号 #endregion Fields #region Constructors public FrmAddWell(GeoScene.Globe.GSOGlobeControl _globeControl1,GSODataSource _ds) { globeControl1 = _globeControl1; ds = _ds; InitializeComponent(); }
public FrmMultiPipelineModelDB(GSOGlobeControl _globeControl) { globeControl1 = _globeControl; InitializeComponent(); }
public FrmBatchCreatePipeline(GSOGlobeControl _ctl) { ctl = _ctl; InitializeComponent(); }
public FrmAddValve(GeoScene.Globe.GSOGlobeControl _globeControl1) { globeControl1 = _globeControl1; InitializeComponent(); }