⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chp4fm2.frm

📁 GIS二次开发源代码
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   7125
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   8655
   LinkTopic       =   "Form1"
   ScaleHeight     =   7125
   ScaleWidth      =   8655
   StartUpPosition =   3  '窗口缺省
   Begin VB.ComboBox Combo4 
      Height          =   300
      Left            =   6720
      TabIndex        =   15
      Text            =   "Combo4"
      Top             =   6600
      Width           =   1815
   End
   Begin VB.ComboBox Combo3 
      Height          =   300
      Left            =   4560
      TabIndex        =   14
      Text            =   "Combo3"
      Top             =   6600
      Width           =   1935
   End
   Begin VB.ComboBox Combo2 
      Height          =   300
      Left            =   2520
      TabIndex        =   13
      Text            =   "Combo2"
      Top             =   6600
      Width           =   1935
   End
   Begin VB.ComboBox Combo1 
      Height          =   300
      Left            =   240
      TabIndex        =   12
      Text            =   "Combo1"
      Top             =   6600
      Width           =   2175
   End
   Begin VB.ListBox List6 
      Height          =   2760
      Left            =   5880
      TabIndex        =   10
      Top             =   3600
      Width           =   2655
   End
   Begin VB.ListBox List5 
      Height          =   2760
      Left            =   3000
      TabIndex        =   8
      Top             =   3600
      Width           =   2655
   End
   Begin VB.ListBox List4 
      Height          =   2760
      Left            =   120
      TabIndex        =   6
      Top             =   3600
      Width           =   2655
   End
   Begin VB.ListBox List3 
      Height          =   2580
      Left            =   5880
      TabIndex        =   2
      Top             =   480
      Width           =   2535
   End
   Begin VB.ListBox List2 
      Height          =   2580
      Left            =   2880
      TabIndex        =   1
      Top             =   480
      Width           =   2775
   End
   Begin VB.ListBox List1 
      Height          =   2580
      Left            =   120
      TabIndex        =   0
      Top             =   480
      Width           =   2535
   End
   Begin VB.Label Label6 
      Caption         =   "GeoTransformations"
      Height          =   375
      Left            =   5880
      TabIndex        =   11
      Top             =   3240
      Width           =   2535
   End
   Begin VB.Label Label5 
      Caption         =   "投影坐标系ProjectedCoordSys"
      Height          =   375
      Left            =   2760
      TabIndex        =   9
      Top             =   3240
      Width           =   3015
   End
   Begin VB.Label Label4 
      Caption         =   "投影:Projection"
      Height          =   375
      Left            =   360
      TabIndex        =   7
      Top             =   3240
      Width           =   2415
   End
   Begin VB.Label Label3 
      Caption         =   "地理坐标系:GeographicCoordSys"
      Height          =   495
      Left            =   5760
      TabIndex        =   5
      Top             =   120
      Width           =   3015
      WordWrap        =   -1  'True
   End
   Begin VB.Label Label2 
      Caption         =   "基准面"
      Height          =   375
      Left            =   3360
      TabIndex        =   4
      Top             =   120
      Width           =   1575
   End
   Begin VB.Label Label1 
      Caption         =   "椭球体"
      Height          =   375
      Left            =   360
      TabIndex        =   3
      Top             =   120
      Width           =   1575
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Form_Load()
 Dim moStr As New MapObjects2.Strings
 Dim i As Integer
  moStr.PopulateUsingNewConstants = True ''''
  
 moStr.PopulateWithSpheroids
  Label1.Caption = "椭球体(" + CStr(moStr.Count2) + ")"
 For i = 0 To moStr.Count2 - 1
    List1.AddItem moStr.Item(i)
 Next i
 
 moStr.Clear
 moStr.PopulateWithDatums
  Label2.Caption = "基准面(" + CStr(moStr.Count2) + ")"
 For i = 0 To moStr.Count2 - 1
    List2.AddItem moStr.Item(i)
 Next i
 
 moStr.Clear
 moStr.PopulateWithGeographicCoordSys
  Label3.Caption = "地理坐标系(" + CStr(moStr.Count2) + ")"
 For i = 0 To moStr.Count2 - 1
    List3.AddItem moStr.Item(i)
 Next i
 
 moStr.Clear
 moStr.PopulateWithProjections
 Label4.Caption = "地图投影(" + CStr(moStr.Count2) + ")"
 For i = 0 To moStr.Count2 - 1
    List4.AddItem moStr.Item(i)
 Next i
 
 moStr.Clear
 moStr.PopulateWithProjectedCoordSys
 Label5.Caption = "投影坐标系(" + CStr(moStr.Count2) + ")"
 For i = 0 To moStr.Count2 - 1
    List5.AddItem moStr.Item(i)
 Next i
 
 moStr.Clear
 moStr.PopulateWithGeoTransformations
 Label6.Caption = "投影变换(" + CStr(moStr.Count2) + ")"
 For i = 0 To moStr.Count2 - 1
    List6.AddItem moStr.Item(i)
 Next i
 
 moStr.Clear
 moStr.PopulateWithUnits
 Combo1.Text = "地图单位"
 For i = 0 To moStr.Count2 - 1
    Combo1.AddItem moStr.Item(i)
 Next i
 
 moStr.Clear
 moStr.PopulateWithMeridians
 Combo2.Text = "中央经线"
 For i = 0 To moStr.Count2 - 1
    Combo2.AddItem moStr.Item(i)
 Next i
 
 moStr.Clear
 moStr.PopulateWithMethods
' If moStr.PopulateUsingNewConstants Then
  Combo3.Text = "投影变换方法"
  For i = 0 To moStr.Count2 - 1
    Combo3.AddItem moStr.Item(i)
  Next i
' End If
 
 moStr.Clear
 moStr.PopulateWithParameters (moProjection_GaussKruger)
 Combo4.Text = "投影参数 (GaussKruger)"
 For i = 0 To moStr.Count2 - 1
    Combo4.AddItem moStr.Item(i)
 Next i

End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -