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


VERSION 5.00 
Begin VB.Form frmTest  
   Caption         =   "Form1" 
   ClientHeight    =   3195 
   ClientLeft      =   4095 
   ClientTop       =   3855 
   ClientWidth     =   4680 
   LinkTopic       =   "Form1" 
   ScaleHeight     =   3195 
   ScaleWidth      =   4680 
   Begin VB.CommandButton Command1  
      Caption         =   "Command1" 
      Height          =   615 
      Left            =   1320 
      TabIndex        =   0 
      Top             =   1080 
      Width           =   1815 
   End 
End 
Attribute VB_Name = "frmTest" 
Attribute VB_GlobalNameSpace = False 
Attribute VB_Creatable = False 
Attribute VB_PredeclaredId = True 
Attribute VB_Exposed = False 
Private Sub Command1_Click() 
Dim a As New clsPublic 
    a.GetUniqueLayerNamebySQL frmMain.Map, "Select * from Mexico" 
End Sub