📄 frmcancelsend.frm
字号:
VERSION 5.00
Begin VB.Form frmCancelSend
BorderStyle = 1 'Fixed Single
Caption = "发送数据"
ClientHeight = 1485
ClientLeft = 45
ClientTop = 330
ClientWidth = 4275
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1485
ScaleWidth = 4275
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton cmdCancel
Caption = "取消发送"
Height = 390
Left = 1140
TabIndex = 0
Top = 975
Width = 1500
End
Begin VB.Label Label1
Alignment = 2 'Center
Caption = "Label1"
Height = 495
Left = 240
TabIndex = 1
Top = 225
Width = 3360
End
End
Attribute VB_Name = "frmCancelSend"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
DefInt A-Z
Option Explicit
Const SWP_NOMOVE = &H2
Const SWP_NOSIZE = &H1
Private Sub cmdCancel_Click()
'取消发送
CancelSend = True
Unload Me
End Sub
Private Sub Form_Activate()
SetWindowPos hwnd, -1, 0, 0, 0, 0, SWP_NOMOVE Or SWP_NOSIZE
End Sub
Private Sub Form_Deactivate()
If Not CancelSend Then
frmCancelSend.Show
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -