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

📄 Ц-

📁 地理信息共享:读写中国地球空间数据交换格式源码2
💻
字号:
VERSION 5.00
Object = "{33594095-39E4-11D5-B912-0000E86BCC9F}#1.0#0"; "CNSDFT.ocx"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form 演示 
   Caption         =   "中国地球空间数据转换控件演示"
   ClientHeight    =   3735
   ClientLeft      =   3375
   ClientTop       =   2595
   ClientWidth     =   4785
   LinkTopic       =   "Form1"
   ScaleHeight     =   3735
   ScaleWidth      =   4785
   Begin VB.CommandButton Command3 
      Caption         =   "演示 ActiveX"
      Height          =   495
      Left            =   1560
      TabIndex        =   5
      Top             =   2880
      Width           =   1215
   End
   Begin VB.CommandButton Command2 
      Caption         =   "输出文件"
      Height          =   495
      Left            =   3000
      TabIndex        =   2
      Top             =   2160
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      Caption         =   "输入文件"
      Height          =   495
      Left            =   600
      TabIndex        =   1
      Top             =   2160
      Width           =   1215
   End
   Begin MSComDlg.CommonDialog CommonDialog 
      Left            =   4200
      Top             =   3120
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
   Begin CNSDFTLib.CNSDFT SD 
      Height          =   495
      Left            =   1200
      TabIndex        =   0
      Top             =   240
      Width           =   2055
      _Version        =   65536
      _ExtentX        =   3625
      _ExtentY        =   873
      _StockProps     =   1
   End
   Begin VB.Label Label2 
      Alignment       =   2  'Center
      Caption         =   "输出文件"
      ForeColor       =   &H8000000D&
      Height          =   400
      Left            =   2520
      TabIndex        =   4
      Top             =   1440
      Width           =   2200
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      Caption         =   "输入文件"
      ForeColor       =   &H8000000D&
      Height          =   400
      Left            =   120
      TabIndex        =   3
      Top             =   1440
      Width           =   2200
   End
End
Attribute VB_Name = "演示"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()

With CommonDialog
  .Filter = "vct文件(*.vct)|*.vct"
  .ShowOpen
SD.InputFilename = .FileName
Label1.Caption = .FileName
End With
End Sub

Private Sub Command2_Click()
With CommonDialog
  .Filter = "vct文件(*.vct)|*.vct"
  .ShowSave
SD.OutFilename = .FileName
Label2.Caption = .FileName
End With
End Sub

Private Sub Command3_Click()
SD.WriteData
End Sub

⌨️ 快捷键说明

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