📄 frmlistdlg.frm
字号:
VERSION 5.00
Begin VB.Form FrmList
BorderStyle = 3 'Fixed Dialog
Caption = "名单卡号"
ClientHeight = 1455
ClientLeft = 45
ClientTop = 330
ClientWidth = 3060
LinkTopic = "Form3"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1455
ScaleWidth = 3060
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command2
Caption = "取消"
Height = 375
Left = 1680
TabIndex = 4
Top = 960
Width = 1095
End
Begin VB.CommandButton Command1
Caption = "确定"
Height = 375
Left = 240
TabIndex = 3
Top = 960
Width = 1095
End
Begin VB.TextBox txCard
Height = 285
Left = 840
TabIndex = 2
Top = 480
Width = 1575
End
Begin VB.Label Label2
Caption = "卡号"
Height = 255
Left = 240
TabIndex = 1
Top = 600
Width = 495
End
Begin VB.Label Label1
Caption = "请输入卡号"
Height = 255
Left = 240
TabIndex = 0
Top = 120
Width = 975
End
End
Attribute VB_Name = "FrmList"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'****************************************************************************
'人人为我,我为人人
'枕善居收藏整理
'发布日期:2008/03/08
'描 述:标准太平洋IC考勤机开发读写数据示例
'网 站:http://www.Mndsoft.com/ (VB6源码博客)
'网 站:http://www.VbDnet.com/ (VB.NET源码博客,主要基于.NET2005)
'e-mail :Mndsoft@163.com
'e-mail :Mndsoft@126.com
'OICQ :88382850
' 如果您有新的好的代码别忘记给枕善居哦!
'****************************************************************************
Public OkFlag As Boolean
Private Sub Command1_Click()
OkFlag = True
If Len(txCard.Text) = 0 Then
MsgBox ("卡号长度不能为零")
GoTo Ext
End If
Hide
Ext:
End Sub
Private Sub Command2_Click()
OkFlag = False
Hide
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -