www.pudn.com > MapX5Demo.rar > frmOptions.frm, change:2002-09-20,size:1947b


VERSION 5.00 
Begin VB.Form frmOptions  
   BorderStyle     =   3  'Fixed Dialog 
   Caption         =   "选项" 
   ClientHeight    =   2475 
   ClientLeft      =   45 
   ClientTop       =   330 
   ClientWidth     =   4680 
   LinkTopic       =   "Form1" 
   MaxButton       =   0   'False 
   MinButton       =   0   'False 
   ScaleHeight     =   2475 
   ScaleWidth      =   4680 
   ShowInTaskbar   =   0   'False 
   StartUpPosition =   1  'CenterOwner 
   Begin VB.CommandButton cmdCancel  
      Caption         =   "退出" 
      Height          =   400 
      Left            =   2640 
      TabIndex        =   4 
      Top             =   1680 
      Width           =   1200 
   End 
   Begin VB.CommandButton cmdOK  
      Caption         =   "确定" 
      Height          =   400 
      Left            =   600 
      TabIndex        =   3 
      Top             =   1680 
      Width           =   1200 
   End 
   Begin VB.TextBox txtPixel  
      Height          =   375 
      Left            =   1680 
      TabIndex        =   1 
      Text            =   "5" 
      Top             =   405 
      Width           =   1215 
   End 
   Begin VB.Label Label2  
      Caption         =   "(个屏幕象素)" 
      Height          =   255 
      Left            =   3000 
      TabIndex        =   2 
      Top             =   480 
      Width           =   1335 
   End 
   Begin VB.Label Label1  
      Caption         =   "捕捉半径:" 
      Height          =   255 
      Left            =   480 
      TabIndex        =   0 
      Top             =   480 
      Width           =   1095 
   End 
End 
Attribute VB_Name = "frmOptions" 
Attribute VB_GlobalNameSpace = False 
Attribute VB_Creatable = False 
Attribute VB_PredeclaredId = True 
Attribute VB_Exposed = False 
Private Sub cmdCancel_Click() 
    Unload Me 
End Sub 
 
Private Sub cmdOK_Click() 
    frmMain.m_iSnapTolerance = Int(txtPixel.Text) 
    Unload Me 
End Sub