📄 frmpt.frm
字号:
VERSION 5.00
Begin VB.Form frmpt
BorderStyle = 1 'Fixed Single
Caption = "打印户口信息"
ClientHeight = 1500
ClientLeft = 45
ClientTop = 7125
ClientWidth = 2625
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1500
ScaleWidth = 2625
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command2
Caption = "取消"
Height = 375
Left = 1200
TabIndex = 1
Top = 840
Width = 855
End
Begin VB.CommandButton Command1
Caption = "打印"
Height = 375
Left = 1200
TabIndex = 0
Top = 240
Width = 855
End
Begin VB.Image Image1
Height = 510
Left = 360
Picture = "frmpt.frx":0000
Top = 480
Width = 555
End
End
Attribute VB_Name = "frmpt"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
frmphu.cdl1.ShowPrinter
frmphu.PrintForm
End Sub
Private Sub Command2_Click()
Unload frmphu
Unload frmpt
mainfrm.Enabled = True
'初始化主窗口
mainfrm.guanli.Enabled = True
mainfrm.chaxun.Enabled = True
mainfrm.tongji.Enabled = True
If userid = "admin" Then
mainfrm.xitong.Enabled = True
mainfrm.bdb.Enabled = True
Else
mainfrm.xitong.Enabled = False
mainfrm.bdb.Enabled = False
End If
mainfrm.Command1.Enabled = True
mainfrm.Command2.Enabled = True
mainfrm.Command3.Enabled = True
mainfrm.Command5.Enabled = True
If userid = "admin" Then
mainfrm.Command4.Enabled = True
Else
mainfrm.Command4.Enabled = False
End If
GetStatus "<就绪>"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -