📄 users_del.frm
字号:
VERSION 5.00
Begin VB.Form users_del
BorderStyle = 1 'Fixed Single
Caption = "删除用户"
ClientHeight = 6240
ClientLeft = 360
ClientTop = 2505
ClientWidth = 10515
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Picture = "users_del.frx":0000
ScaleHeight = 6240
ScaleWidth = 10515
Begin VB.CommandButton Command2
BackColor = &H00FFFFFF&
Caption = "取消"
Height = 375
Left = 6240
Style = 1 'Graphical
TabIndex = 18
Top = 5520
Width = 1215
End
Begin VB.CommandButton Command3
BackColor = &H00FFFFFF&
Caption = "查找"
Height = 375
Left = 3360
Style = 1 'Graphical
TabIndex = 2
Top = 5520
Width = 1215
End
Begin VB.TextBox id
BackColor = &H00C0FFFF&
Height = 270
Left = 960
TabIndex = 1
Top = 5640
Width = 2175
End
Begin VB.CommandButton Command1
BackColor = &H00FFFFFF&
Caption = "删除"
Height = 375
Left = 4800
Style = 1 'Graphical
TabIndex = 0
Top = 5520
Width = 1215
End
Begin VB.Frame Frame1
BackColor = &H00FFFFFF&
Caption = "用户信息确认"
Height = 3495
Left = 600
TabIndex = 3
Top = 1800
Width = 6855
Begin VB.Label u_name
BackStyle = 0 'Transparent
ForeColor = &H8000000D&
Height = 375
Left = 1080
TabIndex = 17
Top = 480
Width = 1695
End
Begin VB.Label sex
BackStyle = 0 'Transparent
ForeColor = &H8000000D&
Height = 375
Left = 1080
TabIndex = 16
Top = 960
Width = 1695
End
Begin VB.Label dep
BackStyle = 0 'Transparent
ForeColor = &H8000000D&
Height = 255
Left = 1080
TabIndex = 15
Top = 1440
Width = 5175
End
Begin VB.Label phone
BackStyle = 0 'Transparent
ForeColor = &H8000000D&
Height = 375
Left = 3960
TabIndex = 14
Top = 960
Width = 2295
End
Begin VB.Label address
BackStyle = 0 'Transparent
ForeColor = &H8000000D&
Height = 255
Left = 1080
TabIndex = 13
Top = 1800
Width = 5175
End
Begin VB.Label day
BackStyle = 0 'Transparent
ForeColor = &H8000000D&
Height = 375
Left = 3960
TabIndex = 12
Top = 480
Width = 2295
End
Begin VB.Label tex
BackStyle = 0 'Transparent
ForeColor = &H8000000D&
Height = 1095
Left = 1080
TabIndex = 11
Top = 2160
Width = 5175
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "姓名:"
Height = 375
Index = 0
Left = 360
TabIndex = 10
Top = 480
Width = 735
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "注册日期:"
Height = 375
Index = 1
Left = 3000
TabIndex = 9
Top = 480
Width = 855
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "地址:"
Height = 375
Index = 2
Left = 360
TabIndex = 8
Top = 1800
Width = 735
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "联系电话:"
Height = 375
Index = 3
Left = 3000
TabIndex = 7
Top = 960
Width = 855
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "单位:"
Height = 375
Index = 4
Left = 360
TabIndex = 6
Top = 1440
Width = 735
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "性别:"
Height = 375
Index = 5
Left = 360
TabIndex = 5
Top = 960
Width = 735
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "备注:"
Height = 375
Index = 6
Left = 360
TabIndex = 4
Top = 2160
Width = 735
End
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "ID"
BeginProperty Font
Name = "Arial"
Size = 10.5
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 7
Left = 600
TabIndex = 19
Top = 5640
Width = 1215
End
End
Attribute VB_Name = "users_del"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Call dele
users_del.u_name.Caption = ""
users_del.sex.Caption = ""
users_del.dep.Caption = ""
users_del.phone.Caption = ""
users_del.address.Caption = ""
users_del.day.Caption = ""
users_del.tex.Caption = ""
id.Text = ""
Exit Sub
End Sub
Private Sub Command2_Click()
Me.Hide
End Sub
Private Sub Command3_Click()
On Error GoTo err1:
Call fid(id.Text)
Exit Sub
err1:
MsgBox "请填入查找id"
id.Text = ""
End Sub
Private Sub users_dep_Click()
End Sub
Private Sub id_KeyPress(KeyAscii As Integer)
Me.id.BackColor = &H80000005
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -