?? form7.frm
字號:
VERSION 5.00
Begin VB.Form login
Caption = "Form7"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 4680
LinkTopic = "Form7"
ScaleHeight = 3090
ScaleWidth = 4680
StartUpPosition = 3 'Windows Default
WindowState = 2 'Maximized
Begin VB.TextBox Text1
BeginProperty Font
Name = "MS Sans Serif"
Size = 13.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 3840
TabIndex = 4
Text = " "
Top = 1560
Width = 2055
End
Begin VB.TextBox Text2
BeginProperty Font
Name = "Monotype Corsiva"
Size = 20.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 615
IMEMode = 3 'DISABLE
Left = 3840
PasswordChar = "*"
TabIndex = 3
Text = " "
Top = 3000
Width = 2055
End
Begin VB.CommandButton Command1
Caption = "&LOG IN"
Height = 615
Left = 1080
TabIndex = 2
Top = 4080
Width = 1695
End
Begin VB.CommandButton Command2
Caption = "&CANCEL"
Height = 615
Left = 3360
TabIndex = 1
Top = 4080
Width = 1575
End
Begin VB.CommandButton Command3
Caption = "&EXIT"
Height = 615
Left = 5520
TabIndex = 0
Top = 4080
Width = 1455
End
Begin VB.Label Label1
Caption = "USERNAME"
Height = 495
Left = 1440
TabIndex = 6
Top = 1560
Width = 1815
End
Begin VB.Label Label2
Caption = "PASSWORD"
Height = 615
Left = 1320
TabIndex = 5
Top = 2880
Width = 1815
End
End
Attribute VB_Name = "login"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text = "admin" And Text2.Text = "admin" Then
Me.Hide
Form1.Show
Else
MsgBox "OOPS!!! INVALID LOGIN" + vbClRf + "TRY AGAIN", vbCritical
Text1.Text = ""
Text2.Text = ""
End If
End Sub
Private Sub Command2_Click()
Text1.Text = ""
Text2.Text = ""
End Sub
Private Sub Command3_Click()
End
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -