📄 frmendplay.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "comdlg32.ocx"
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form frmEndPlay
BorderStyle = 1 'Fixed Single
Caption = "结帐"
ClientHeight = 6330
ClientLeft = 2535
ClientTop = 330
ClientWidth = 6690
Icon = "frmEndPlay.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 6330
ScaleWidth = 6690
Begin MSComDlg.CommonDialog ComDialog1
Left = 3120
Top = 2880
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.CommandButton Command4
Caption = "打印帐单"
Height = 375
Left = 3480
TabIndex = 3
Top = 2640
Width = 1335
End
Begin RichTextLib.RichTextBox RTBox
Height = 3135
Left = 0
TabIndex = 24
Top = 3120
Width = 6615
_ExtentX = 11668
_ExtentY = 5530
_Version = 393217
Enabled = -1 'True
ReadOnly = -1 'True
ScrollBars = 3
TextRTF = $"frmEndPlay.frx":030A
End
Begin VB.CommandButton Command2
Caption = "<<详细资料"
Height = 375
Left = 5040
TabIndex = 4
Top = 2640
Width = 1335
End
Begin VB.CheckBox Check1
Caption = "使用储金卡"
Height = 300
Left = 240
TabIndex = 0
Top = 1440
Width = 1215
End
Begin VB.TextBox txtYiShou
Alignment = 1 'Right Justify
Height = 270
Left = 1440
Locked = -1 'True
TabIndex = 14
Top = 840
Width = 1455
End
Begin VB.ListBox List2
Height = 1950
ItemData = "frmEndPlay.frx":03A7
Left = 3480
List = "frmEndPlay.frx":03A9
Style = 1 'Checkbox
TabIndex = 13
Top = 480
Width = 3135
End
Begin VB.Frame Frame2
Caption = "Frame2"
Height = 975
Left = 120
TabIndex = 8
Top = 1560
Width = 3015
Begin VB.TextBox txtKaMiMa
Enabled = 0 'False
Height = 270
IMEMode = 3 'DISABLE
Left = 1080
PasswordChar = "*"
TabIndex = 10
Top = 600
Width = 1815
End
Begin VB.TextBox txtKaHaoMa
Enabled = 0 'False
Height = 270
Left = 1080
TabIndex = 9
Top = 240
Width = 1815
End
Begin VB.Label Label25
Caption = "密码:"
Enabled = 0 'False
Height = 255
Left = 120
TabIndex = 12
Top = 600
Width = 735
End
Begin VB.Label Label24
Caption = "卡号:"
Enabled = 0 'False
Height = 255
Left = 120
TabIndex = 11
Top = 240
Width = 975
End
End
Begin VB.ComboBox comYouHui
Height = 300
ItemData = "frmEndPlay.frx":03AB
Left = 1440
List = "frmEndPlay.frx":03BB
TabIndex = 7
Text = "无"
Top = 480
Width = 1455
End
Begin VB.TextBox txtShiShou
Alignment = 1 'Right Justify
Height = 270
Left = 1440
TabIndex = 6
Top = 1200
Width = 1455
End
Begin VB.TextBox txtYingShou
Alignment = 1 'Right Justify
Height = 270
Left = 1440
Locked = -1 'True
TabIndex = 5
Top = 120
Width = 1455
End
Begin VB.CommandButton Command3
Caption = "结帐并关机"
Height = 375
Left = 1920
TabIndex = 2
Top = 2640
Width = 1335
End
Begin VB.CommandButton Command1
Caption = "结帐"
Height = 375
Left = 360
TabIndex = 1
Top = 2640
Width = 1335
End
Begin VB.Label Label13
Caption = "元"
Height = 255
Left = 3000
TabIndex = 23
Top = 840
Width = 255
End
Begin VB.Label Label12
Caption = "已收金额:"
Height = 255
Left = 120
TabIndex = 22
Top = 840
Width = 1215
End
Begin VB.Label Label19
Caption = "其他一起结帐的机器:"
Height = 375
Left = 3480
TabIndex = 21
Top = 120
Width = 1815
End
Begin VB.Label Label11
Caption = "元"
Height = 375
Left = 3000
TabIndex = 20
Top = 1200
Width = 375
End
Begin VB.Label Label10
Caption = "%"
Height = 255
Left = 3000
TabIndex = 19
Top = 480
Width = 375
End
Begin VB.Label Label9
Caption = "元"
Height = 255
Left = 3000
TabIndex = 18
Top = 240
Width = 375
End
Begin VB.Label Label8
Caption = "打折优惠:"
Height = 255
Left = 120
TabIndex = 17
Top = 525
Width = 975
End
Begin VB.Label Label7
Caption = "实收金额:"
Height = 375
Left = 120
TabIndex = 16
Top = 1200
Width = 1095
End
Begin VB.Label Label6
Caption = "应收金额:"
Height = 255
Left = 120
TabIndex = 15
Top = 240
Width = 1095
End
End
Attribute VB_Name = "frmEndPlay"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim selShiShou As Integer
Private Sub Command2_Click()
If Command2.Caption = "详细资料>>" Then
Command2.Caption = "<<详细资料"
RTBox.Visible = True
Me.Height = 6705
Else
Command2.Caption = "详细资料>>"
RTBox.Visible = False
Me.Height = 3480
End If
End Sub
Private Sub Command4_Click()
'打印帐单
On Error Resume Next
With ComDialog1
.CancelError = True
.Flags = cdlPDReturnDC + cdlPDNoPageNums + &H100000
RTBox.SelLength = 0
.ShowPrinter
If Err <> mscomdlg.cdlCancel Then
RTBox.SelPrint .hdc
End If
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -