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

📄 frmrdapull.ebf

📁 Windows CE 应用程序设计随书源码
💻 EBF
字号:
VERSION 5.00
Begin VB.Form frmRDAPull 
   Appearance      =   0  'Flat
   BackColor       =   &H00FFC0C0&
   Caption         =   "RDA - Pull"
   ClientHeight    =   3120
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   3540
   ForeColor       =   &H80000008&
   ScaleHeight     =   3120
   ScaleWidth      =   3540
   SIPBehavior     =   1  'vbSIPAutomatic
   Begin VBCE.Label Label7 
      Height          =   255
      Left            =   15
      TabIndex        =   9
      Top             =   300
      Width           =   795
      _cx             =   1402
      _cy             =   450
      AutoSize        =   0   'False
      BackColor       =   16761024
      BackStyle       =   1
      BorderStyle     =   0
      Caption         =   "ErrorTable"
      Enabled         =   -1  'True
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "Tahoma"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   0
      Alignment       =   0
      UseMnemonic     =   -1  'True
      WordWrap        =   0   'False
   End
   Begin VBCE.TextBox txtErrorTableName 
      Height          =   255
      Left            =   1000
      TabIndex        =   1
      Top             =   300
      Width           =   2500
      _cx             =   4419
      _cy             =   450
      BackColor       =   -2147483643
      BorderStyle     =   1
      Enabled         =   -1  'True
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   -2147483640
      Text            =   ""
      Alignment       =   0
      HideSelection   =   -1  'True
      Locked          =   0   'False
      MaxLength       =   0
      MultiLine       =   0   'False
      PasswordChar    =   ""
      ScrollBars      =   0
   End
   Begin VBCE.Label Label6 
      Height          =   255
      Left            =   15
      TabIndex        =   8
      Top             =   0
      Width           =   960
      _cx             =   1693
      _cy             =   450
      AutoSize        =   0   'False
      BackColor       =   16761024
      BackStyle       =   1
      BorderStyle     =   0
      Caption         =   "RDA_TRACK"
      Enabled         =   -1  'True
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "Tahoma"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   0
      Alignment       =   0
      UseMnemonic     =   -1  'True
      WordWrap        =   0   'False
   End
   Begin VBCE.ComboBox cmbRDATrackoption 
      Height          =   300
      Left            =   1000
      TabIndex        =   0
      Top             =   0
      Width           =   2500
      List            =   "frmRDAPull.frx":0000
      ItemData        =   "frmRDAPull.frx":0028
      _cx             =   4410
      _cy             =   529
      BackColor       =   -2147483643
      Enabled         =   -1  'True
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   -2147483640
      Text            =   ""
      IntegralHeight  =   -1  'True
      Locked          =   0   'False
      Sorted          =   0   'False
      Style           =   0
   End
   Begin VBCE.TextBox txtLocalConnectionString 
      Height          =   510
      Left            =   1005
      TabIndex        =   3
      Top             =   1800
      Width           =   2505
      _cx             =   4419
      _cy             =   900
      BackColor       =   -2147483643
      BorderStyle     =   1
      Enabled         =   -1  'True
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   -2147483640
      Text            =   ""
      Alignment       =   0
      HideSelection   =   -1  'True
      Locked          =   0   'False
      MaxLength       =   0
      MultiLine       =   -1  'True
      PasswordChar    =   ""
      ScrollBars      =   0
   End
   Begin VBCE.Label Label4 
      Height          =   255
      Left            =   0
      TabIndex        =   7
      Top             =   1920
      Width           =   885
      _cx             =   1561
      _cy             =   450
      AutoSize        =   0   'False
      BackColor       =   16761024
      BackStyle       =   1
      BorderStyle     =   0
      Caption         =   "本地连接"
      Enabled         =   -1  'True
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   0
      Alignment       =   0
      UseMnemonic     =   -1  'True
      WordWrap        =   0   'False
   End
   Begin VBCE.CommandButton cmdOK 
      Height          =   255
      Left            =   2160
      TabIndex        =   4
      TabStop         =   0   'False
      Top             =   2400
      Width           =   600
      _cx             =   1058
      _cy             =   450
      BackColor       =   12632256
      Caption         =   "确定"
      Enabled         =   -1  'True
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Style           =   0
   End
   Begin VBCE.CommandButton cmdCancel 
      Height          =   255
      Left            =   2880
      TabIndex        =   6
      TabStop         =   0   'False
      Top             =   2400
      Width           =   600
      _cx             =   1058
      _cy             =   450
      BackColor       =   12632256
      Caption         =   "取消"
      Enabled         =   -1  'True
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Style           =   0
   End
   Begin VBCE.TextBox txtConnectString 
      Height          =   1170
      Left            =   1005
      TabIndex        =   2
      Top             =   570
      Width           =   2505
      _cx             =   4419
      _cy             =   2064
      BackColor       =   -2147483643
      BorderStyle     =   1
      Enabled         =   -1  'True
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   -2147483640
      Text            =   ""
      Alignment       =   0
      HideSelection   =   -1  'True
      Locked          =   0   'False
      MaxLength       =   0
      MultiLine       =   -1  'True
      PasswordChar    =   ""
      ScrollBars      =   0
   End
   Begin VBCE.Label Label2 
      Height          =   255
      Left            =   15
      TabIndex        =   5
      Top             =   570
      Width           =   960
      _cx             =   1693
      _cy             =   450
      AutoSize        =   0   'False
      BackColor       =   16761024
      BackStyle       =   1
      BorderStyle     =   0
      Caption         =   "连接字符串"
      Enabled         =   -1  'True
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   0
      Alignment       =   0
      UseMnemonic     =   -1  'True
      WordWrap        =   0   'False
   End
End
Attribute VB_Name = "frmRDAPull"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Form_Activate()

    'Set RDATrackoption
    cmbRDATrackoption.Clear
    cmbRDATrackoption.AddItem "TrackingOff", 0
    cmbRDATrackoption.AddItem "TrackingOn", 1
    cmbRDATrackoption.ListIndex = 0
    
    'Set ErrorTableName
    txtErrorTableName.Text = txtRDAErrorTableName
    txtErrorTableName.Enabled = False
    
    'Set LocalConnectionString Property
    txtLocalConnectionString.Text = CERDA.LocalConnectionString
    
    'Set RDA Parameters
    txtConnectString.Text = txtRDAConnectString
    If RDATrackoption = TRACKINGOFF Then
        cmbRDATrackoption.ListIndex = 0
    Else
        cmbRDATrackoption.ListIndex = 1
    End If
    
End Sub

Private Sub cmbRDATrackoption_Click()
    If cmbRDATrackoption.ListIndex = 0 Then
        txtErrorTableName.Enabled = False
    Else
        txtErrorTableName.Enabled = True
    End If
End Sub

Private Sub cmdOK_Click()

    'Set RDATrackoption
    If cmbRDATrackoption.ListIndex = 0 Then
        RDATrackoption = TRACKINGOFF
    Else
        RDATrackoption = TRACKINGON
    End If
    
    'Set ErrorTableName
    txtRDAErrorTableName = txtErrorTableName
    
    'Set LocalConnectionString Property
    CERDA.LocalConnectionString = txtLocalConnectionString.Text
    
    'Set ConnectString Parameter
    txtRDAConnectString = txtConnectString.Text
    
    'Go to next form in sequence
    Me.Hide
    If mnuItem = "mnuRDAPull" Then
        frmRDAPullQuery.Show
    Else
        frmMain.Show
    End If
End Sub

Private Sub cmdCancel_Click()
    Me.Hide
    frmMain.Show
End Sub

⌨️ 快捷键说明

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