📄 dl.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form dl
BorderStyle = 3 'Fixed Dialog
Caption = "哈尔滨兵工经贸有限责任公司"
ClientHeight = 3975
ClientLeft = 45
ClientTop = 435
ClientWidth = 6615
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3975
ScaleWidth = 6615
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text5
Height = 270
Left = 7920
Locked = -1 'True
TabIndex = 8
Text = "0"
Top = 1800
Width = 1215
End
Begin VB.CommandButton Command3
Caption = "Command3"
Height = 330
Left = 7920
TabIndex = 7
Top = 1320
Width = 1200
End
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 7920
Top = 120
Width = 1200
_ExtentX = 2117
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 2
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=emil;Data Source=EMIL"
OLEDBString = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=emil;Data Source=EMIL"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "yonghu"
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.TextBox Text4
DataField = "passeord"
DataSource = "Adodc1"
Height = 330
Left = 7920
Locked = -1 'True
TabIndex = 6
Top = 840
Width = 1200
End
Begin VB.TextBox Text3
DataField = "name"
DataSource = "Adodc1"
Height = 330
Left = 7920
Locked = -1 'True
TabIndex = 5
Top = 480
Width = 1200
End
Begin VB.PictureBox Picture1
AutoSize = -1 'True
Height = 4410
Left = -1320
Picture = "dl.frx":0000
ScaleHeight = 4350
ScaleWidth = 9120
TabIndex = 4
Top = -240
Width = 9180
Begin VB.CommandButton Command2
BackColor = &H008080FF&
Caption = "取 消"
BeginProperty Font
Name = "华文彩云"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 4680
TabIndex = 3
Top = 3480
Width = 975
End
Begin VB.CommandButton Command1
BackColor = &H008080FF&
Caption = "确 定"
Default = -1 'True
BeginProperty Font
Name = "华文彩云"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2760
TabIndex = 2
Top = 3480
Width = 975
End
Begin VB.TextBox Text2
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
IMEMode = 3 'DISABLE
Left = 3720
PasswordChar = "*"
TabIndex = 1
Top = 2760
Width = 2175
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 3720
TabIndex = 0
Top = 2280
Width = 2175
End
End
End
Attribute VB_Name = "dl"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Adodc1_Click()
End Sub
Private Sub Command1_Click()
If Text1.Text = Text3.Text And Text2.Text = Text4.Text Then
Unload Me
system.Show
Else
MsgBox "您输入的用户名或密码不正确,请重新输入!"
Text5.Text = Val(Val(Text5.Text) + 1)
If Text5.Text = "3" Then
MsgBox "对不起,您已经连续三次输入用户名或密码不正确,系统将自动关闭!!"
End
End If
Text1.Text = ""
Text2.Text = ""
Text1.SetFocus
End If
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Command3_Click()
Adodc1.Recordset.AddNew
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -