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

📄 frmrdainterneturl.ebf

📁 Windows CE 应用程序设计随书源码
💻 EBF
字号:
VERSION 5.00
Begin VB.Form frmRDAInternetURL 
   Appearance      =   0  'Flat
   BackColor       =   &H00FFC0C0&
   Caption         =   "RDA - Internet URL"
   ClientHeight    =   2550
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   3720
   ForeColor       =   &H80000008&
   ScaleHeight     =   2550
   ScaleWidth      =   3720
   SIPBehavior     =   1  'vbSIPAutomatic
   Begin VBCE.Frame Frame2 
      Height          =   1815
      Left            =   30
      TabIndex        =   5
      Top             =   60
      Width           =   3675
      _cx             =   6482
      _cy             =   3201
      BackColor       =   16761024
      BorderStyle     =   1
      Caption         =   "Internet 属性"
      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
      ClipControls    =   -1  'True
      Begin VBCE.TextBox txtInternetURL 
         Height          =   800
         Left            =   800
         TabIndex        =   0
         Top             =   200
         Width           =   2700
         _cx             =   4762
         _cy             =   1402
         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          =   240
         Left            =   120
         TabIndex        =   8
         Top             =   195
         Width           =   375
         _cx             =   661
         _cy             =   423
         AutoSize        =   0   'False
         BackColor       =   16761024
         BackStyle       =   1
         BorderStyle     =   0
         Caption         =   "URL"
         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
         Alignment       =   0
         UseMnemonic     =   -1  'True
         WordWrap        =   0   'False
      End
      Begin VBCE.TextBox txtInternetLogin 
         Height          =   275
         Left            =   800
         TabIndex        =   1
         Top             =   1050
         Width           =   2700
         _cx             =   4762
         _cy             =   485
         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.TextBox txtInternetPassword 
         Height          =   275
         Left            =   800
         TabIndex        =   2
         Top             =   1375
         Width           =   2700
         _cx             =   4762
         _cy             =   485
         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 Label3 
         Height          =   240
         Left            =   120
         TabIndex        =   7
         Top             =   1035
         Width           =   465
         _cx             =   820
         _cy             =   423
         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       =   -2147483640
         Alignment       =   0
         UseMnemonic     =   -1  'True
         WordWrap        =   0   'False
      End
      Begin VBCE.Label Label4 
         Height          =   240
         Left            =   120
         TabIndex        =   6
         Top             =   1335
         Width           =   480
         _cx             =   847
         _cy             =   423
         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       =   -2147483640
         Alignment       =   0
         UseMnemonic     =   -1  'True
         WordWrap        =   0   'False
      End
   End
   Begin VBCE.CommandButton cmdOK 
      Height          =   255
      Left            =   2160
      TabIndex        =   4
      TabStop         =   0   'False
      Top             =   2160
      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        =   3
      TabStop         =   0   'False
      Top             =   2160
      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
End
Attribute VB_Name = "frmRDAInternetURL"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Form_Activate()

    'Set Internet Properties
    txtInternetURL.Text = CERDA.InternetURL
    txtInternetLogin.Text = CERDA.InternetLogin
    txtInternetPassword.Text = CERDA.InternetPassword
    
End Sub

Private Sub cmdOK_Click()

    'Set Internet Properties
    CERDA.InternetURL = txtInternetURL.Text
    CERDA.InternetLogin = txtInternetLogin.Text
    CERDA.InternetPassword = txtInternetPassword.Text
    
    'Go to next form in sequence
    Me.Hide
    If mnuItem = "mnuRDAPull" Then
        frmRDAPull.Show
    ElseIf mnuItem = "mnuRDAPush" Then
        frmRDAPush.Show
    ElseIf mnuItem = "mnuRDASubmit" Then
        frmRDASubmitSQL.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 + -