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

📄 登陆.frm

📁 用vb做的。还没有做完。不过整个结构已经很清晰了。有兴趣的继续做。
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "宿舍管理软件"
   ClientHeight    =   2025
   ClientLeft      =   6165
   ClientTop       =   4155
   ClientWidth     =   2760
   LinkTopic       =   "Form1"
   ScaleHeight     =   2025
   ScaleWidth      =   2760
   Begin VB.Frame Frame1 
      Caption         =   "管理员登陆"
      Height          =   1695
      Left            =   120
      TabIndex        =   0
      Top             =   240
      Width           =   2535
      Begin VB.CommandButton Command2 
         Caption         =   "取消"
         Height          =   255
         Left            =   1320
         TabIndex        =   6
         Top             =   1320
         Width           =   975
      End
      Begin VB.CommandButton Command1 
         Caption         =   "登陆"
         Height          =   255
         Left            =   240
         TabIndex        =   5
         Top             =   1320
         Width           =   855
      End
      Begin VB.TextBox Text2 
         Height          =   270
         IMEMode         =   3  'DISABLE
         Left            =   960
         PasswordChar    =   "*"
         TabIndex        =   4
         Top             =   840
         Width           =   1335
      End
      Begin VB.TextBox Text1 
         Height          =   270
         Left            =   960
         TabIndex        =   3
         Top             =   480
         Width           =   1335
      End
      Begin VB.Label Label2 
         Caption         =   "密  码"
         Height          =   255
         Left            =   240
         TabIndex        =   2
         Top             =   840
         Width           =   615
      End
      Begin VB.Label Label1 
         Caption         =   "用户名"
         Height          =   255
         Left            =   240
         TabIndex        =   1
         Top             =   480
         Width           =   735
      End
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim x, y As Integer
a = abc
b = 123
x = Val(Text1.Text)
y = Val(Text2.Text)
If x = a And y = b Then
 Form2.Show
Else
 MsgBox "您输入的用户名或密码错误!请重新输入!"
End If
End Sub

Private Sub Command2_Click()
End
End Sub

⌨️ 快捷键说明

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