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

📄 secondpass.frm

📁 用于计算虫口模型的数据
💻 FRM
字号:
VERSION 5.00
Begin VB.Form SecondPass 
   Caption         =   "用户登录"
   ClientHeight    =   4095
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   6180
   LinkTopic       =   "Form1"
   ScaleHeight     =   4095
   ScaleWidth      =   6180
   StartUpPosition =   3  'Windows Default
   Begin VB.Frame Frame2 
      Height          =   1095
      Left            =   120
      TabIndex        =   1
      Top             =   2400
      Width           =   5775
      Begin VB.CommandButton CmdCancel 
         Caption         =   "取消"
         Height          =   375
         Left            =   3360
         TabIndex        =   6
         Top             =   360
         Width           =   1335
      End
      Begin VB.CommandButton CmdOK 
         Caption         =   "确定"
         Height          =   375
         Left            =   600
         TabIndex        =   5
         Top             =   360
         Width           =   1215
      End
   End
   Begin VB.Frame Frame1 
      Height          =   2175
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   5775
      Begin VB.TextBox TxtPassword 
         Height          =   495
         IMEMode         =   3  'DISABLE
         Left            =   1560
         PasswordChar    =   "*"
         TabIndex        =   7
         Top             =   1200
         Width           =   3015
      End
      Begin VB.ComboBox CmbUserId 
         Height          =   315
         Left            =   1560
         TabIndex        =   4
         Top             =   360
         Width           =   3015
      End
      Begin VB.Label Label2 
         Caption         =   "密    码"
         Height          =   255
         Left            =   720
         TabIndex        =   3
         Top             =   1320
         Width           =   615
      End
      Begin VB.Label Label1 
         Caption         =   "用户名"
         Height          =   255
         Left            =   720
         TabIndex        =   2
         Top             =   480
         Width           =   615
      End
   End
End
Attribute VB_Name = "SecondPass"
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()
   If (CmbUserId.Text = "easy" Or CmbUserId.Text = "hard") _
   And TxtPassword.Text = "0.0" Then
   MsgBox "恭喜!您已进入系统!"
   Unload Me
Else
   MsgBox "该用户不存在或者您的密码不正确!"
End If
End Sub

Private Sub Form_Load()
Me.CmbUserId.AddItem ("easy")
Me.CmbUserId.AddItem ("hard")
End Sub

⌨️ 快捷键说明

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