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

📄 linform.frm

📁 里面有我用VB二次开发MAPGIS的20个例子
💻 FRM
字号:
VERSION 5.00
Object = "{E0695C78-AEE5-4AB7-906F-A2029CFE464C}#1.0#0"; "MapGisBasCtl1.dll"
Begin VB.Form LinForm 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "修改线参数"
   ClientHeight    =   3900
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   3645
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3900
   ScaleWidth      =   3645
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command2 
      Caption         =   "取消"
      Height          =   495
      Left            =   2400
      TabIndex        =   2
      Top             =   2640
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      Caption         =   "确定"
      Height          =   495
      Left            =   2400
      TabIndex        =   1
      Top             =   360
      Width           =   1215
   End
   Begin MAPGISBASCTL1LibCtl.Lin_InfoEdit Lin_InfoEdit1 
      Height          =   3855
      Left            =   0
      OleObjectBlob   =   "LinForm.frx":0000
      TabIndex        =   0
      Top             =   0
      Width           =   2295
   End
End
Attribute VB_Name = "LinForm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Command1_Click()
Dim info As Lin_Info
Lin_InfoEdit1.GetValue info
MapGis.SetLinDefParam info
Set info = Nothing
LinForm.Hide
End Sub

Private Sub Command2_Click()
Unload LinForm
End Sub

Private Sub Form_Load()
Dim info As Lin_Info
Set info = MapGis.GetLinDefParam
Lin_InfoEdit1.SetValue info
Set info = Nothing
End Sub

⌨️ 快捷键说明

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