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

📄 cad.frm

📁 这个是grs源程序,mo在图象显示上很好,所以大家一定要下载
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmCAD 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "CAD Feature Type Selector"
   ClientHeight    =   2895
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4335
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2895
   ScaleWidth      =   4335
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command1 
      Caption         =   "Add layers now"
      Height          =   375
      Left            =   1080
      TabIndex        =   5
      Top             =   2400
      Width           =   1935
   End
   Begin VB.CheckBox chkCAD 
      Caption         =   "Text"
      Height          =   255
      Index           =   3
      Left            =   1680
      TabIndex        =   4
      Top             =   2040
      Width           =   1095
   End
   Begin VB.CheckBox chkCAD 
      Caption         =   "Polygons"
      Height          =   255
      Index           =   2
      Left            =   1680
      TabIndex        =   3
      Top             =   1680
      Width           =   1095
   End
   Begin VB.CheckBox chkCAD 
      Caption         =   "Lines"
      Height          =   255
      Index           =   1
      Left            =   1680
      TabIndex        =   2
      Top             =   1320
      Value           =   1  'Checked
      Width           =   1095
   End
   Begin VB.CheckBox chkCAD 
      Caption         =   "Points"
      Height          =   255
      Index           =   0
      Left            =   1680
      TabIndex        =   1
      Top             =   960
      Width           =   1095
   End
   Begin VB.Label lblCAD 
      Caption         =   "You have chosen to add ____ as a CAD-based map layer.  Choose which feature types to add to your map."
      Height          =   735
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   4215
   End
End
Attribute VB_Name = "frmCAD"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public cadFileName As String

Private Sub Command1_Click()

'Close this form.  The status of the check boxes
'will tell the calling procedure which CAD feature
'types to load.  See "frmMain.AddCAD".
Me.Hide

End Sub

Private Sub Form_Load()

'Load instructions into a label on the form.
lblCAD.Caption = "You have chosen to add " & UCase(cadFileName) & _
                 " as a CAD-based map layer.  Choose which" & _
                 " feature types to add to your map."

'Set default properties for the CAD feature type selections
chkCAD(0).Value = 0  'points   - NO
chkCAD(1).Value = 1  'lines    - YES
chkCAD(2).Value = 0  'polygons - NO
chkCAD(3).Value = 0  'text     - NO

End Sub

Private Sub Form_Unload(Cancel As Integer)

'Clear out the "cadFileName" global variable
'used by frmMain.AddCAD
cadFileName = ""

End Sub

⌨️ 快捷键说明

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