📄 linkmain.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Object = "{00025600-0000-0000-C000-000000000046}#4.6#0"; "crystl32.ocx"
Begin VB.MDIForm LinkMain
BackColor = &H8000000F&
Caption = "IC卡管理系统"
ClientHeight = 6450
ClientLeft = 165
ClientTop = 855
ClientWidth = 11760
LinkTopic = "MDIForm1"
LockControls = -1 'True
StartUpPosition = 3 'Windows Default
WindowState = 2 'Maximized
Begin Crystal.CrystalReport CrystalReport1
Left = 1080
Top = 2160
_ExtentX = 741
_ExtentY = 741
_Version = 262150
End
Begin VB.PictureBox Picture1
Align = 1 'Align Top
Height = 975
Left = 0
ScaleHeight = 915
ScaleWidth = 11700
TabIndex = 0
Top = 0
Width = 11760
Begin VB.CommandButton Command7
Caption = "售卡"
BeginProperty Font
Name = "宋体"
Size = 7.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 1920
Picture = "LinkMain.frx":0000
Style = 1 'Graphical
TabIndex = 9
Top = 120
Width = 735
End
Begin VB.CommandButton Command4
Caption = "充值"
BeginProperty Font
Name = "宋体"
Size = 7.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 2760
Picture = "LinkMain.frx":0442
Style = 1 'Graphical
TabIndex = 8
Top = 120
Width = 735
End
Begin VB.CommandButton Command3
Caption = "卡挂失"
BeginProperty Font
Name = "宋体"
Size = 7.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 3600
Picture = "LinkMain.frx":0D0C
Style = 1 'Graphical
TabIndex = 7
Top = 120
Width = 730
End
Begin VB.CommandButton Command5
Caption = "退出"
BeginProperty Font
Name = "宋体"
Size = 7.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 5520
Picture = "LinkMain.frx":1016
Style = 1 'Graphical
TabIndex = 4
Top = 120
Width = 730
End
Begin VB.CommandButton Command6
Caption = "备份"
BeginProperty Font
Name = "宋体"
Size = 7.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 120
Picture = "LinkMain.frx":1458
Style = 1 'Graphical
TabIndex = 3
Top = 120
Width = 730
End
Begin VB.CommandButton Command1
Caption = "人员注册"
BeginProperty Font
Name = "宋体"
Size = 7.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 960
Picture = "LinkMain.frx":189A
Style = 1 'Graphical
TabIndex = 2
Top = 120
Width = 735
End
Begin VB.CommandButton Command2
Caption = "查询"
BeginProperty Font
Name = "宋体"
Size = 7.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 4560
Picture = "LinkMain.frx":1CDC
Style = 1 'Graphical
TabIndex = 1
Top = 120
Width = 735
End
Begin VB.Label about1
Height = 250
Left = 6960
TabIndex = 5
Top = 480
Width = 3850
End
End
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 372
Left = 0
TabIndex = 6
Top = 6072
Width = 11760
_ExtentX = 20743
_ExtentY = 661
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 1
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
EndProperty
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Menu strSystem
Caption = "(&S)系统管理"
Begin VB.Menu strUser
Caption = "用户管理"
Shortcut = ^U
End
Begin VB.Menu M1_4
Caption = "-"
End
Begin VB.Menu M1_3
Caption = "职务设置"
End
Begin VB.Menu strBM
Caption = "部门设置"
End
Begin VB.Menu M1_1
Caption = "人员信息"
Shortcut = ^E
End
Begin VB.Menu M1_2
Caption = "消费项目设置"
Visible = 0 'False
End
Begin VB.Menu M_6
Caption = "-"
Visible = 0 'False
End
Begin VB.Menu strDataBackup
Caption = "数据备份"
Shortcut = ^B
Visible = 0 'False
End
End
Begin VB.Menu str_999
Caption = "(&K)生成密码卡"
End
Begin VB.Menu M2
Caption = "(&F)IC卡管理"
Begin VB.Menu M2_1
Caption = "IC卡类型设置"
End
Begin VB.Menu M2_2
Caption = "会员注册"
Visible = 0 'False
End
Begin VB.Menu M2_3
Caption = "IC卡发售"
Shortcut = ^S
End
Begin VB.Menu M2_4
Caption = "IC卡充值"
Shortcut = ^F
End
Begin VB.Menu M2_5
Caption = "IC卡挂失"
Shortcut = {F6}
End
End
Begin VB.Menu str_900
Caption = "(&D)数据处理"
Begin VB.Menu str_901
Caption = "数据下载"
Shortcut = ^D
End
Begin VB.Menu str_902
Caption = "数据解包"
Shortcut = ^M
End
Begin VB.Menu str_903
Caption = "-"
End
Begin VB.Menu str_904
Caption = "查询"
Shortcut = {F1}
End
Begin VB.Menu str_905
Caption = "刷卡数据查询"
Shortcut = {F2}
Visible = 0 'False
End
End
Begin VB.Menu strAbout
Caption = "(&A)关于本系统"
Begin VB.Menu strVer
Caption = "软件版本"
End
Begin VB.Menu strKey
Caption = "注册"
End
Begin VB.Menu str_906
Caption = "-"
End
Begin VB.Menu strQuit
Caption = "退出系统"
Shortcut = ^Q
End
End
End
Attribute VB_Name = "LinkMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
frm_employee.Show 1
End Sub
Private Sub Command2_Click()
frm_xfcx.Show 1
End Sub
Private Sub Command3_Click()
frmM1Blk.Show 1
End Sub
Private Sub Command4_Click() '采集
frm_hyicaddmoney.Show 1
End Sub
Private Sub Command5_Click()
Unload Me
End Sub
Private Sub Command6_Click()
'frmBackup.Show
MsgBox "该功能未启用", vbInformation + vbOKOnly, "中芯德立信息提示"
End Sub
Private Sub Command7_Click()
frm_hyic.Show 1
End Sub
Private Sub M1_1_Click()
frm_employee.Show 1
End Sub
Private Sub M1_2_Click()
frm_xfxm.Show 1
End Sub
Private Sub M1_3_Click()
frm_duty.Show 1
End Sub
Private Sub M2_1_Click()
frm_typeset.Show 1
End Sub
Private Sub M2_2_Click()
frm_hyview.Show 1
End Sub
Private Sub M2_3_Click()
frm_hyic.Show 1
End Sub
Private Sub M2_4_Click() '充值
frm_hyicaddmoney.Show 1
End Sub
Private Sub M2_5_Click()
frmM1Blk.Show 1
End Sub
Private Sub MDIForm_Load()
With StatusBar1 '初始化状态条信息 13487684858
.Panels.Clear
.Panels.Add 1, "users", " 用户:" & strUserName
.Panels(1).Width = Me.Width / 4
.Panels.Add 2, "ServerTime", "当前时间:" & Format(Now, "yyyy-mm-dd hh:mm:ss") '& rs_username 'theApp.UserName
'.Panels(2).Picture = LoadPicture(App.Path & "\bitmap\user.bmp")
.Panels(2).Width = Me.Width / 2.5
.Panels.Add 3, "ServerState", "状态:OK" '& Format(Now, "yyyy-mm-dd hh:mm:ss")
'.Panels(3).Picture = LoadPicture(App.Path & "\bitmap\clock.ico")
.Panels(3).AutoSize = sbrSpring
KeyABP = False
comPort = Val(GetRegKey(HKEY_CURRENT_USER, "com", "comnumber", ""))
comSet = GetRegKey(HKEY_CURRENT_USER, "com", "comset", "")
If comSet = "" Then
comSet = "9600,N,8,1" '设置通信口参数
comPort = 1
End If
End With
End Sub
Private Sub str_901_Click()
frmCollectionCurrent.Show 1
End Sub
Private Sub str_902_Click()
frmbusunpack.Show 1
End Sub
Private Sub str_904_Click()
frm_xfcx.Show 1
End Sub
Private Sub str_999_Click()
If sLogin = "管理员" Then
frm_CardKey.Show 1
Else
MsgBox "您无权操作该功能", vbInformation + vbOKOnly, "中芯德立信息提示"
End If
End Sub
Private Sub strBM_Click()
frmBM.Show 1
End Sub
Private Sub strDataBackup_Click()
MsgBox "该功能未启用", vbInformation + vbOKOnly, "中芯德立信息提示"
'frmBackup.Show 1
End Sub
Private Sub strFullFind_Click()
frmRecordFind.Show 1
End Sub
Private Sub strFullUnpack_Click()
frmFullUnpack.Show 1
End Sub
Private Sub strEFind_Click()
frmSF.Show 1
End Sub
Private Sub strFFind_Click()
frmRecordFind.Show 1
End Sub
Private Sub strKey_Click()
frmKey.Show 1
End Sub
Private Sub strQuit_Click()
Unload Me
End Sub
Private Sub strUser_Click()
If sLogin = "管理员" Then
frmUser.Show 1
Else
MsgBox "您无权操作该功能", vbInformation + vbOKOnly, "中芯德立信息提示"
End If
End Sub
Private Sub strVer_Click()
MsgBox "中芯德立科技 版本号:2.1", vbInformation + vbOKOnly, "中芯德立信息提示"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -