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

📄

📁 As information technology is more and more in-depth and wide range of applications, management infor
💻
字号:
VERSION 5.00
Begin VB.Form Form4 
   Caption         =   "工作人员登录框"
   ClientHeight    =   2160
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   6105
   LinkTopic       =   "Form4"
   ScaleHeight     =   2160
   ScaleWidth      =   6105
   StartUpPosition =   3  '窗口缺省
   Begin VB.PictureBox Picture1 
      Height          =   2175
      Left            =   0
      Picture         =   "工作人员登录框.frx":0000
      ScaleHeight     =   2115
      ScaleWidth      =   6075
      TabIndex        =   0
      Top             =   0
      Width           =   6135
      Begin VB.TextBox Text1 
         Height          =   495
         Left            =   1440
         TabIndex        =   4
         Top             =   360
         Width           =   2295
      End
      Begin VB.TextBox Text2 
         Height          =   495
         IMEMode         =   3  'DISABLE
         Left            =   1440
         PasswordChar    =   "*"
         TabIndex        =   3
         Top             =   1320
         Width           =   2295
      End
      Begin VB.CommandButton Command1 
         Caption         =   "确 定"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   495
         Left            =   4320
         TabIndex        =   2
         Top             =   360
         Width           =   1335
      End
      Begin VB.CommandButton Command2 
         Caption         =   "取 消"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   12
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   495
         Left            =   4320
         TabIndex        =   1
         Top             =   1320
         Width           =   1335
      End
      Begin VB.Label Label2 
         BackStyle       =   0  'Transparent
         Caption         =   "用户名:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   14.25
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   615
         Left            =   120
         TabIndex        =   6
         Top             =   480
         Width           =   1335
      End
      Begin VB.Label Label1 
         BackStyle       =   0  'Transparent
         Caption         =   "密  码:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   14.25
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   735
         Left            =   120
         TabIndex        =   5
         Top             =   1320
         Width           =   1335
      End
   End
End
Attribute VB_Name = "Form4"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text = "" Or Text2.Text = "" Then
   intmsg = MsgBox("请输入用户名和密码!", 1 + 48 + 0, "身份验证")
  Else
     If Text1.Text <> "工作人员" Or Text2.Text <> "gongzuo" Then
      intmsg = MsgBox("用户名或密码错误,请重新输入!", 1 + 48 + 0, "身份验证")
      Text1.Text = ""
      Text2.Text = ""
    Else
      Text1.Text = "工作人员"
      Text2.Text = "gongzuo"
      Form4.Hide
      Form10.Show
    End If
    End If
End Sub

Private Sub Command2_Click()
Form4.Hide
Form1.Show
End Sub

⌨️ 快捷键说明

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