📄 supportqry.frm
字号:
VERSION 5.00
Begin VB.Form SupportQry
Caption = "处理报告"
ClientHeight = 7395
ClientLeft = 60
ClientTop = 345
ClientWidth = 7455
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 7395
ScaleWidth = 7455
StartUpPosition = 2 'CenterScreen
Begin VB.TextBox Text9
ForeColor = &H00FF0000&
Height = 420
Left = 1320
Locked = -1 'True
TabIndex = 21
Top = 1320
Width = 5775
End
Begin VB.TextBox Text8
ForeColor = &H00FF0000&
Height = 420
Left = 1320
Locked = -1 'True
TabIndex = 20
Top = 720
Width = 5775
End
Begin VB.CommandButton Command2
Caption = "关 闭"
Height = 375
Left = 5040
TabIndex = 17
Top = 6840
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "打 印"
Height = 375
Left = 1440
TabIndex = 16
Top = 6840
Width = 1215
End
Begin VB.TextBox Text7
ForeColor = &H00FF0000&
Height = 420
Left = 5280
Locked = -1 'True
TabIndex = 15
Top = 1920
Width = 1815
End
Begin VB.TextBox Text6
Height = 4095
Left = 360
Locked = -1 'True
MaxLength = 240
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 13
Top = 2520
Width = 6735
End
Begin VB.TextBox Text5
Alignment = 2 'Center
ForeColor = &H00FF0000&
Height = 375
Left = 6240
Locked = -1 'True
TabIndex = 5
Top = 120
Width = 495
End
Begin VB.TextBox Text4
Alignment = 2 'Center
ForeColor = &H00FF0000&
Height = 375
Left = 5160
Locked = -1 'True
TabIndex = 4
Top = 120
Width = 495
End
Begin VB.TextBox Text3
Alignment = 2 'Center
ForeColor = &H00FF0000&
Height = 375
Left = 4080
Locked = -1 'True
TabIndex = 3
Top = 120
Width = 495
End
Begin VB.TextBox Text2
Alignment = 2 'Center
ForeColor = &H00FF0000&
Height = 375
Left = 3000
Locked = -1 'True
TabIndex = 2
Top = 120
Width = 495
End
Begin VB.TextBox Text1
Alignment = 2 'Center
ForeColor = &H00FF0000&
Height = 375
Left = 1320
Locked = -1 'True
TabIndex = 1
Top = 120
Width = 1095
End
Begin VB.Label Label13
Caption = "故障摘要"
Height = 255
Left = 240
TabIndex = 19
Top = 1440
Width = 975
End
Begin VB.Label Label11
Caption = "(少于120字)"
ForeColor = &H00008000&
Height = 255
Left = 1320
TabIndex = 18
Top = 2040
Width = 1815
End
Begin VB.Label Label9
Caption = "报 告 人"
Height = 375
Left = 4200
TabIndex = 14
Top = 2040
Width = 975
End
Begin VB.Label Label8
Caption = "处理结果"
Height = 375
Left = 240
TabIndex = 12
Top = 2040
Width = 975
End
Begin VB.Label Label7
Caption = "客户名称"
Height = 255
Left = 240
TabIndex = 11
Top = 840
Width = 975
End
Begin VB.Label Label6
Caption = "分"
Height = 375
Left = 6960
TabIndex = 10
Top = 240
Width = 375
End
Begin VB.Label Label5
Caption = "时"
Height = 375
Left = 5880
TabIndex = 9
Top = 240
Width = 255
End
Begin VB.Label Label4
Caption = "日"
Height = 375
Left = 4680
TabIndex = 8
Top = 240
Width = 375
End
Begin VB.Label Label3
Caption = "月"
Height = 375
Left = 3720
TabIndex = 7
Top = 240
Width = 255
End
Begin VB.Label Label2
Caption = "年"
Height = 375
Left = 2640
TabIndex = 6
Top = 240
Width = 255
End
Begin VB.Label Label1
Caption = "报告时间"
Height = 255
Left = 240
TabIndex = 0
Top = 240
Width = 975
End
End
Attribute VB_Name = "SupportQry"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form2.Show
DoEvents
Printer.FontName = "MS Sans Serif"
Printer.FontSize = 12
Printer.Print
Printer.Print
Printer.Print
Printer.Print
Printer.Print
Printer.Print , , "技术支持记录"
Printer.Print "------------------------------------------------------------------------------"
Printer.Print "记录日期:"; Text1.Text; "年"; Text2.Text; "月"; Text3.Text; "日"; Text4.Text; "时"; Text5.Text; "分"
Printer.Print "客户单位名称:"; Text8.Text
Printer.Print "------------------------------------------------------------------------------"
Printer.Print "故障报告摘要:"
Printer.Print Text9.Text
Printer.Print "------------------------------------------------------------------------------"
Printer.Print "技术支持人员:"; Text7.Text
Printer.Print "技术支持报告内容:"; Text6.Text
Printer.Print "------------------------------------------------------------------------------"
Printer.EndDoc
Form2.Visible = False
MsgBox "打印完成!"
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Unload(Cancel As Integer)
qrysupport.Enabled = True
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -