📄 frminfo.frm
字号:
VERSION 5.00
Begin VB.Form FrmInfo
BorderStyle = 1 'Fixed Single
Caption = "消息传递"
ClientHeight = 3195
ClientLeft = 45
ClientTop = 330
ClientWidth = 4680
LinkTopic = "Form3"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3195
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton CmdQuit
Caption = "退出"
Height = 495
Left = 3120
TabIndex = 3
Top = 2520
Width = 1335
End
Begin VB.CommandButton CmdSend
Caption = "发送"
Height = 495
Left = 240
TabIndex = 2
Top = 2520
Width = 1335
End
Begin VB.TextBox TxtInfo
Height = 2055
Left = 120
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 1
Top = 240
Width = 4455
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "请输入你要发送的消息:"
Height = 180
Left = 0
TabIndex = 0
Top = 0
Width = 1980
End
End
Attribute VB_Name = "FrmInfo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CmdQuit_Click()
Unload Me
End Sub
Private Sub CmdSend_Click()
FrmMain.SockCli.SendData "SENINFO" & TxtInfo
If InfoBack = "GOTINFO" Then
MsgBox "消息已经成功发送!", vbOKOnly, "发送成功"
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -