📄 formprint.frm
字号:
VERSION 5.00
Begin VB.Form Formprint
Caption = "打印报表"
ClientHeight = 3045
ClientLeft = 60
ClientTop = 450
ClientWidth = 4110
LinkTopic = "Form2"
ScaleHeight = 3045
ScaleWidth = 4110
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "取消"
Height = 315
Left = 2700
TabIndex = 5
Top = 2220
Width = 1095
End
Begin VB.CommandButton Command1
Caption = "确定"
Height = 315
Left = 60
TabIndex = 4
Top = 2220
Width = 1095
End
Begin VB.Frame Frame1
Caption = "选择要打印的报表"
Height = 2115
Left = 60
TabIndex = 0
Top = 120
Width = 3735
Begin VB.OptionButton Option3
Caption = "打印学费信息"
Height = 375
Left = 300
TabIndex = 3
Top = 1500
Width = 1515
End
Begin VB.OptionButton Option2
Caption = "打印课程信息"
Height = 255
Left = 300
TabIndex = 2
Top = 1020
Width = 1515
End
Begin VB.OptionButton Option1
Caption = "打印学生信息"
Height = 375
Left = 300
TabIndex = 1
Top = 420
Width = 1755
End
End
End
Attribute VB_Name = "Formprint"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
If Option1.Enabled = True Then
DataReportclass.Show
Else
If Option2.Enabled = True Then
DataReportclass2.Show
Else
If Option3.Enabled = True Then
DataReportxuefei.Show
End If
End If
End If
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -