📄 form1.ebf
字号:
VERSION 5.00
Begin VB.Form Form1
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Form1"
ClientHeight = 4020
ClientLeft = 0
ClientTop = 0
ClientWidth = 3600
ControlBox = 0 'False
ForeColor = &H80000008&
ScaleHeight = 4020
ScaleWidth = 3600
Begin VB.CommandButton Command3
Appearance = 0 'Flat
Caption = "Send"
Height = 735
Left = 840
TabIndex = 2
Top = 1080
Width = 1935
End
Begin VB.CommandButton Command2
Appearance = 0 'Flat
Caption = "End"
Height = 735
Left = 1320
TabIndex = 1
Top = 2640
Width = 855
End
Begin VB.CommandButton Command1
Appearance = 0 'Flat
Caption = "Receive"
Height = 735
Left = 840
TabIndex = 0
Top = 120
Width = 1935
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
Dim foo
Dim test
Set foo = CreateObject("PCDMDLL.PCDMTransfer.1")
test = foo.ReceiveString
MsgBox "received2:" & test
End Sub
Private Sub Command2_Click()
App.End
End Sub
Private Sub Command3_Click()
Dim foo
Set foo = CreateObject("PCDMDLL.PCDMTransfer.1")
foo.SendString "Test from CE"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -