📄 form4.frm
字号:
VERSION 5.00
Begin VB.Form frmloginn
Caption = "Password"
ClientHeight = 5340
ClientLeft = 60
ClientTop = 450
ClientWidth = 7530
LinkTopic = "Form4"
Picture = "Form4.frx":0000
ScaleHeight = 5340
ScaleWidth = 7530
StartUpPosition = 2 'CenterScreen
Begin VB.Frame Frame1
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "passsword"
ForeColor = &H80000008&
Height = 2415
Left = 2160
TabIndex = 0
Top = 960
Width = 3855
Begin VB.ComboBox Combo1
Appearance = 0 'Flat
DataSource = "DataEnvironment1"
Height = 315
ItemData = "Form4.frx":9C29
Left = 1560
List = "Form4.frx":9C36
TabIndex = 5
Top = 600
Width = 1815
End
Begin VB.CommandButton Command1
Appearance = 0 'Flat
Caption = "Loggin....!"
Height = 375
Left = 1560
TabIndex = 4
Top = 1920
Width = 1095
End
Begin VB.TextBox Text2
Appearance = 0 'Flat
DataField = "password"
DataSource = "Datas"
Height = 285
IMEMode = 3 'DISABLE
Left = 1560
PasswordChar = "*"
TabIndex = 3
Top = 1200
Width = 1935
End
Begin VB.Label Label2
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Password"
BeginProperty Font
Name = "Arial Black"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 495
Left = 120
TabIndex = 2
Top = 1080
Width = 1935
End
Begin VB.Label Label1
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "user name"
BeginProperty Font
Name = "Arial Black"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 375
Left = 120
TabIndex = 1
Top = 480
Width = 2535
End
End
End
Attribute VB_Name = "frmloginn"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Combo1.Text = "mustafe" And Text2.Text = "mustafe" Then
Bakingsystem.Show
frmloginn.Hide
ElseIf Combo1.Text = "moled" And Text2.Text = "moled" Then
Bakingsystem.Show
frmloginn.Hide
ElseIf Combo1.Text = "IUA" And Text2.Text = "computer" Then
Bakingsystem.Show
frmloginn.Hide
Else: MsgBox ("Please enter correct password")
Text2.Text = ""
End If
End Sub
Private Sub Form_Activate()
'Text2.Text = ""
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -