📄 frmcai.frm
字号:
Width = 2265
End
Begin VB.TextBox Text13
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 345
Left = 990
TabIndex = 26
Text = "######"
Top = 1713
Width = 2235
End
Begin VB.ComboBox Combo3
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 990
TabIndex = 3
Text = "######"
Top = 1257
Width = 2325
End
Begin VB.Label Label1
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "提 货 人"
Height = 285
Index = 2
Left = 150
TabIndex = 43
Top = 900
Width = 735
End
Begin VB.Label Label1
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "发 货 人"
Height = 285
Index = 1
Left = 150
TabIndex = 41
Top = 2250
Width = 735
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "合 同 号"
Height = 285
Index = 12
Left = 150
TabIndex = 39
Top = 450
Width = 735
End
Begin VB.Label Label1
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "发货单位"
Height = 285
Index = 0
Left = 150
TabIndex = 38
Top = 2700
Width = 735
End
Begin VB.Label Label1
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "到货地点"
Height = 285
Index = 15
Left = 150
TabIndex = 25
Top = 1800
Width = 735
End
Begin VB.Label Label1
BackColor = &H00C0E0FF&
BackStyle = 0 'Transparent
Caption = "客户名称"
Height = 285
Index = 3
Left = 150
TabIndex = 2
Top = 1350
Width = 735
End
End
Begin VB.PictureBox Picture1
Height = 2715
Left = 180
ScaleHeight = 2655
ScaleWidth = 3675
TabIndex = 0
Top = 210
Width = 3735
Begin MSComCtl2.Animation Animation1
Height = 135
Index = 0
Left = 660
TabIndex = 33
Top = 1980
Width = 135
_ExtentX = 238
_ExtentY = 238
_Version = 393216
FullWidth = 9
FullHeight = 9
End
Begin MSComCtl2.Animation Animation1
Height = 135
Index = 1
Left = 420
TabIndex = 34
Top = 1560
Width = 135
_ExtentX = 238
_ExtentY = 238
_Version = 393216
FullWidth = 9
FullHeight = 9
End
Begin VB.Label text2
Alignment = 1 'Right Justify
BackStyle = 0 'Transparent
Caption = "0.0"
BeginProperty Font
Name = "Century Gothic"
Size = 14.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FF00&
Height = 405
Left = 180
TabIndex = 45
Top = 840
Width = 1695
End
Begin VB.Label text1
Alignment = 1 'Right Justify
BackStyle = 0 'Transparent
Caption = "0.00"
BeginProperty Font
Name = "Century Gothic"
Size = 14.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FF00&
Height = 375
Left = 240
TabIndex = 44
Top = 300
Width = 1635
End
Begin VB.Image Image4
Height = 2550
Left = 30
Picture = "FrmCAI.frx":0106
Top = 60
Width = 3660
End
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 800
Left = 0
Top = 120
End
Begin MSCommLib.MSComm commer
Left = 450
Top = 0
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
BaudRate = 4800
End
Begin MSAdodcLib.Adodc Adodc2
Height = 375
Left = 3000
Top = 2880
Visible = 0 'False
Width = 1320
_ExtentX = 2328
_ExtentY = 661
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=dzqch;Data Source=CZMK-SERVER"
OLEDBString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=dzqch;Data Source=CZMK-SERVER"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "select * from htk"
Caption = "Adodc2"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.Image Image3
Height = 525
Left = 0
Picture = "FrmCAI.frx":1E760
Top = 6570
Width = 9690
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Height = 465
Left = 10170
TabIndex = 32
Top = 4980
Width = 1245
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Height = 495
Left = 10140
TabIndex = 31
Top = 4410
Width = 1275
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "结束"
BeginProperty Font
Name = "幼圆"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0080FF80&
Height = 255
Index = 1
Left = 10560
TabIndex = 30
Top = 5100
Width = 525
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "保存"
BeginProperty Font
Name = "幼圆"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0080FF80&
Height = 255
Index = 0
Left = 10560
TabIndex = 29
Top = 4530
Width = 525
End
Begin VB.Image Image2
Height = 465
Left = 10200
Picture = "FrmCAI.frx":2080B
Top = 4980
Width = 1215
End
Begin VB.Image Image1
Height = 465
Left = 10200
Picture = "FrmCAI.frx":20D4C
Top = 4410
Width = 1215
End
End
Attribute VB_Name = "FrmCAI"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'CODE Manger By BcodeXRose
'##################################################################
'## 过程名称:Command1_Click
'## 参数: 无
'##################################################################
Private Sub Command1_Click()
Dim RUI As Integer
RUI = MsgBox("打印确认" + Chr(13) + Chr(13) + "当前的操作认为前一次打印输出错误," + Chr(13) + Chr(13) + _
"需要重新打印?", vbExclamation + vbDefaultButton1 + vbApplicationModal + vbYesNoCancel, "打印确认")
If RUI = 6 Then
PrintBill
End If
End Sub
'##################################################################
'## 过程名称:Form_Load
'## 参数: 无
'##################################################################
Private Sub Form_Load()
InitSystem
Form_Resize
End Sub
'##################################################################
'## 过程名称:Form_Resize
'## 参数: 无
'##################################################################
Private Sub Form_Resize()
On Error Resume Next
Box.Left = 100
Box.Top = 100
Box.Width = Me.ScaleWidth - 200
Box.Height = Me.ScaleHeight - 200
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -