📄 打印车票.frm
字号:
VERSION 5.00
Begin VB.Form Form6
Caption = "打印车票"
ClientHeight = 3735
ClientLeft = 3810
ClientTop = 3615
ClientWidth = 7290
LinkTopic = "Form6"
ScaleHeight = 3735
ScaleWidth = 7290
Begin VB.Frame Frame1
Height = 1695
Left = 240
TabIndex = 1
Top = 1080
Width = 6735
Begin VB.Label Label24
Height = 255
Left = 5880
TabIndex = 23
Top = 1320
Width = 495
End
Begin VB.Label Label23
Height = 255
Left = 5160
TabIndex = 22
Top = 1320
Width = 255
End
Begin VB.Label Label22
Height = 255
Left = 4080
TabIndex = 21
Top = 1320
Width = 735
End
Begin VB.Label Label21
Height = 255
Left = 3000
TabIndex = 20
Top = 1320
Width = 735
End
Begin VB.Label Label20
Height = 255
Left = 2280
TabIndex = 19
Top = 1320
Width = 255
End
Begin VB.Label Label19
Height = 255
Left = 1560
TabIndex = 18
Top = 1320
Width = 255
End
Begin VB.Label Label18
Height = 255
Left = 240
TabIndex = 17
Top = 1320
Width = 975
End
Begin VB.Label Label17
Caption = "票号"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 5880
TabIndex = 16
Top = 840
Width = 495
End
Begin VB.Label Label16
Caption = "检票口"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 4920
TabIndex = 15
Top = 840
Width = 735
End
Begin VB.Label Label15
Caption = "车型"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 4080
TabIndex = 14
Top = 840
Width = 735
End
Begin VB.Label Label14
Caption = "开车时间"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 2880
TabIndex = 13
Top = 840
Width = 975
End
Begin VB.Label Label13
Caption = "座号"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2160
TabIndex = 12
Top = 840
Width = 495
End
Begin VB.Label Label12
Caption = "车次"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1440
TabIndex = 11
Top = 840
Width = 735
End
Begin VB.Label Label11
Caption = "乘车日期"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 240
TabIndex = 10
Top = 840
Width = 975
End
Begin VB.Label Label10
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 5880
TabIndex = 9
Top = 240
Width = 495
End
Begin VB.Label Label9
Caption = "工号"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 5160
TabIndex = 8
Top = 240
Width = 495
End
Begin VB.Label Label8
Caption = "票"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 4440
TabIndex = 7
Top = 240
Width = 375
End
Begin VB.Label Label7
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 4080
TabIndex = 6
Top = 240
Width = 255
End
Begin VB.Label Label6
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 3120
TabIndex = 5
Top = 240
Width = 615
End
Begin VB.Label Label5
Caption = "票价:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2280
TabIndex = 4
Top = 240
Width = 735
End
Begin VB.Label Label4
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1320
TabIndex = 3
Top = 240
Width = 855
End
Begin VB.Label Label3
Caption = "宁波站—"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 2
Top = 240
Width = 975
End
End
Begin VB.Label Label26
Caption = "限当日当次车、过期、涂改、污染、撕损即失效。"
Height = 495
Left = 240
TabIndex = 24
Top = 3000
Width = 4575
End
Begin VB.Label Label1
Caption = "衡阳 至"
BeginProperty Font
Name = "宋体"
Size = 26.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 240
TabIndex = 0
Top = 360
Width = 4095
End
End
Attribute VB_Name = "Form6"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Click()
Label4.Caption = ""
Label6.Caption = ""
Label7.Caption = ""
Label10.Caption = ""
Label18.Caption = ""
Label19.Caption = ""
Label20.Caption = ""
Label21.Caption = ""
Label22.Caption = ""
Label23.Caption = ""
Label24.Caption = ""
Form6.Hide
End Sub
Private Sub Form_Load()
Label4.Caption = Form3.Text6.Text
Label6.Caption = Form3.Text2.Text & "元"
Label7.Caption = Form3.Combo4.Text
Label10.Caption = Form1.Text1.Text
Label18.Caption = Year(Date) & "/" & Form3.Combo2.Text & "/" & Form3.Combo3.Text
Label19.Caption = Form3.Text9.Text
Label20.Caption = Form3.Text3.Text
Label21.Caption = Form3.Text19.Text
Label22.Caption = Form3.Text5.Text
Label23.Caption = Form3.Text20.Text
Label24.Caption = Form3.Text21.Text
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -