📄 frmaddguest.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmLogin
BackColor = &H00000000&
BorderStyle = 3 'Fixed Dialog
ClientHeight = 4770
ClientLeft = 45
ClientTop = 45
ClientWidth = 6720
ControlBox = 0 'False
BeginProperty Font
Name = "Century Gothic"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "frmAddGuest.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4770
ScaleWidth = 6720
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.Timer Timer4
Interval = 900
Left = 5880
Top = 2160
End
Begin VB.Timer Timer3
Interval = 900
Left = 6120
Top = 4200
End
Begin VB.Timer Timer2
Interval = 900
Left = 360
Top = 2160
End
Begin MSComctlLib.ProgressBar bar
Height = 135
Left = 1080
TabIndex = 7
Top = 3840
Width = 4455
_ExtentX = 7858
_ExtentY = 238
_Version = 393216
Appearance = 0
Max = 30
Scrolling = 1
End
Begin VB.CommandButton Command2
BackColor = &H00FFC0C0&
Caption = "CANCEL"
Height = 375
Left = 3720
MaskColor = &H000080FF&
Style = 1 'Graphical
TabIndex = 3
Top = 3000
Width = 1455
End
Begin VB.CommandButton Command1
BackColor = &H00FFC0C0&
Caption = "OK"
Height = 375
Left = 1440
MaskColor = &H000080FF&
Style = 1 'Graphical
TabIndex = 2
Top = 3000
Width = 1455
End
Begin VB.Timer Timer1
Interval = 900
Left = 5040
Top = 240
End
Begin VB.TextBox Text2
Alignment = 2 'Center
BackColor = &H00FFC0C0&
BeginProperty Font
Name = "Arial"
Size = 15.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 330
IMEMode = 3 'DISABLE
Left = 2520
PasswordChar = "*"
TabIndex = 1
Top = 2160
Width = 2655
End
Begin VB.TextBox Text1
Alignment = 2 'Center
BackColor = &H00FFC0C0&
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 330
Left = 2520
TabIndex = 0
Top = 1320
Width = 2655
End
Begin VB.Timer T1
Interval = 80
Left = 1200
Top = 240
End
Begin MSComctlLib.ProgressBar bar1
Height = 135
Left = 1080
TabIndex = 8
Top = 720
Width = 4455
_ExtentX = 7858
_ExtentY = 238
_Version = 393216
Appearance = 0
Max = 30
Scrolling = 1
End
Begin MSComctlLib.ProgressBar bar2
Height = 3015
Left = 840
TabIndex = 9
Top = 840
Width = 135
_ExtentX = 238
_ExtentY = 5318
_Version = 393216
Appearance = 0
Max = 30
Orientation = 1
Scrolling = 1
End
Begin MSComctlLib.ProgressBar bar3
Height = 3015
Left = 5640
TabIndex = 10
Top = 840
Width = 135
_ExtentX = 238
_ExtentY = 5318
_Version = 393216
Appearance = 0
Max = 30
Orientation = 1
Scrolling = 1
End
Begin VB.Line Line8
BorderColor = &H8000000F&
X1 = 480
X2 = 6120
Y1 = 3840
Y2 = 3840
End
Begin VB.Line Line4
BorderColor = &H8000000F&
X1 = 480
X2 = 6120
Y1 = 840
Y2 = 840
End
Begin VB.Line Line3
BorderColor = &H8000000F&
X1 = 480
X2 = 6120
Y1 = 3960
Y2 = 3960
End
Begin VB.Line Line7
BorderColor = &H8000000F&
X1 = 480
X2 = 6120
Y1 = 720
Y2 = 720
End
Begin VB.Line Line6
BorderColor = &H8000000F&
X1 = 5760
X2 = 5760
Y1 = 360
Y2 = 4320
End
Begin VB.Line Line5
BorderColor = &H8000000F&
X1 = 840
X2 = 840
Y1 = 360
Y2 = 4320
End
Begin VB.Line Line2
BorderColor = &H8000000F&
X1 = 5640
X2 = 5640
Y1 = 360
Y2 = 4320
End
Begin VB.Line Line1
BorderColor = &H8000000F&
X1 = 960
X2 = 960
Y1 = 360
Y2 = 4320
End
Begin VB.Shape Shape5
BackColor = &H00FF8080&
BackStyle = 1 'Opaque
BorderColor = &H00000000&
Height = 3495
Left = 720
Top = 600
Width = 375
End
Begin VB.Label Label2
BackColor = &H000000FF&
BackStyle = 0 'Transparent
Caption = "PASSWORD"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 255
Left = 1440
TabIndex = 5
Top = 2160
Width = 1215
End
Begin VB.Label Label1
BackColor = &H000000FF&
BackStyle = 0 'Transparent
Caption = "USE NAME"
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 255
Left = 1440
TabIndex = 4
Top = 1320
Width = 1455
End
Begin VB.Shape Shape4
BackColor = &H00FF8080&
BackStyle = 1 'Opaque
BorderColor = &H00FFFFFF&
Height = 615
Left = 1320
Top = 2040
Width = 3975
End
Begin VB.Shape Shape3
BackColor = &H00FF8080&
BackStyle = 1 'Opaque
BorderColor = &H00FFFFFF&
Height = 615
Left = 1320
Top = 1200
Width = 3975
End
Begin VB.Shape Shape2
BackColor = &H00FF8080&
BackStyle = 1 'Opaque
BorderColor = &H00FFFFFF&
Height = 615
Left = 3600
Top = 2880
Width = 1695
End
Begin VB.Shape Shape1
BackColor = &H00FF8080&
BackStyle = 1 'Opaque
BorderColor = &H00FFFFFF&
Height = 615
Left = 1320
Top = 2880
Width = 1695
End
Begin VB.Label Label5
Alignment = 2 'Center
BackColor = &H00FF8080&
BackStyle = 0 'Transparent
Caption = "30"
BeginProperty Font
Name = "Arial"
Size = 21.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 495
Left = 2880
TabIndex = 6
Top = 2880
Width = 855
End
Begin VB.Shape Shape6
BackColor = &H00FF8080&
BackStyle = 1 'Opaque
BorderColor = &H00000000&
Height = 3495
Left = 5520
Top = 600
Width = 375
End
Begin VB.Shape Shape8
BackColor = &H00FF8080&
BackStyle = 1 'Opaque
BorderColor = &H00000000&
Height = 375
Left = 1080
Top = 600
Width = 4455
End
Begin VB.Shape Shape7
BackColor = &H00FF8080&
BackStyle = 1 'Opaque
BorderColor = &H00000000&
Height = 375
Left = 1080
Top = 3720
Width = 4455
End
End
Attribute VB_Name = "frmLogin"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public sw1, seed, eks, way, a, b, c, d, e, f, G, beat, x, z As Integer
Public ron As String
Private Sub Command1_Click()
On Error GoTo r
check_RS
rs.Open "select * from user_login order by user_id asc", Cnn
While Not rs.EOF
If Text1.Text = "" And Text2.Text = "" Then
Timer1.Interval = 0
Timer2.Interval = 0
Timer3.Interval = 0
Timer4.Interval = 0
Load frmMain
frmMain.Show 1
rs.MoveLast
rs.MoveNext
Else
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -