📄 frmcustomer.frm
字号:
VERSION 5.00
Begin VB.Form frmCustomer
Caption = "客户资料"
ClientHeight = 4260
ClientLeft = 4995
ClientTop = 3540
ClientWidth = 5010
LinkTopic = "Form1"
ScaleHeight = 4260
ScaleWidth = 5010
Begin VB.TextBox txtmemo
DataField = "username"
Height = 285
Left = 1440
TabIndex = 14
Top = 2760
Width = 3135
End
Begin VB.TextBox txtphone
DataField = "username"
Height = 285
Left = 1440
TabIndex = 12
Top = 2280
Width = 3135
End
Begin VB.TextBox txtbirth
DataField = "username"
Height = 285
Left = 1440
TabIndex = 10
Top = 1800
Width = 3135
End
Begin VB.TextBox txtSex
DataField = "username"
Height = 285
Left = 1440
TabIndex = 8
Top = 1320
Width = 3135
End
Begin VB.TextBox txtMobile
DataField = "username"
Height = 285
Left = 1440
TabIndex = 6
Top = 840
Width = 3135
End
Begin VB.TextBox txtcID
DataField = "userid"
Height = 285
Left = 3120
TabIndex = 3
Top = 4350
Width = 3375
End
Begin VB.TextBox txtCname
DataField = "username"
Height = 285
Left = 1440
TabIndex = 2
Top = 360
Width = 3135
End
Begin VB.CommandButton cmdcancel
Cancel = -1 'True
Caption = "取消"
Height = 375
Left = 3480
TabIndex = 1
Top = 3510
Width = 1215
End
Begin VB.CommandButton cmdok
Caption = "保存"
Default = -1 'True
Height = 375
Left = 2040
TabIndex = 0
Top = 3510
Width = 1215
End
Begin VB.Label lblLabels
Caption = "备注:"
Height = 255
Index = 6
Left = 240
TabIndex = 15
Top = 2775
Width = 1095
End
Begin VB.Label lblLabels
Caption = "电话:"
Height = 255
Index = 5
Left = 240
TabIndex = 13
Top = 2295
Width = 1095
End
Begin VB.Label lblLabels
Caption = "生日:"
Height = 255
Index = 4
Left = 240
TabIndex = 11
Top = 1815
Width = 1095
End
Begin VB.Label lblLabels
Caption = "性别:"
Height = 255
Index = 3
Left = 240
TabIndex = 9
Top = 1335
Width = 1095
End
Begin VB.Label lblLabels
Caption = "手机号码:"
Height = 255
Index = 0
Left = 240
TabIndex = 7
Top = 855
Width = 1095
End
Begin VB.Label lblLabels
Caption = "User ID:"
Height = 255
Index = 1
Left = 1320
TabIndex = 5
Top = 4350
Width = 1815
End
Begin VB.Label lblLabels
Caption = "客户名称:"
Height = 255
Index = 2
Left = 240
TabIndex = 4
Top = 375
Width = 1095
End
End
Attribute VB_Name = "frmCustomer"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public ok As String
Public value As m_customer
Private Sub Cmdcancel_Click()
ok = False
Me.Hide
End Sub
Private Sub CmdOk_Click()
value.birth = Me.txtbirth
value.cid = Me.txtcID
value.cname = Me.txtCname
value.memo = Me.txtmemo
value.mobile = Me.txtMobile
value.phone = Me.txtphone
value.sex = Me.txtSex
ok = True
Me.Hide
End Sub
Private Sub Form_Load()
Me.txtbirth = value.birth
Me.txtcID = value.cid
Me.txtCname = value.cname
Me.txtmemo = value.memo
Me.txtMobile = value.mobile
Me.txtphone = value.phone
Me.txtSex = value.sex
End Sub
Private Sub Form_Unload(Cancel As Integer)
ok = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -