📄 tcpserver.frm
字号:
VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
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 FrmServer
BorderStyle = 1 'Fixed Single
Caption = "TCP 服务器"
ClientHeight = 5820
ClientLeft = 1425
ClientTop = 1935
ClientWidth = 9060
Icon = "TCPServer.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5820
ScaleWidth = 9060
Begin VB.CommandButton cmdserver
Caption = "聊天记录"
Enabled = 0 'False
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 450
Left = 6615
TabIndex = 24
Top = 1950
Width = 2490
End
Begin MSWinsockLib.Winsock Winsockids
Left = 6780
Top = 525
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
Begin VB.CommandButton cmdcolor
Caption = "背景色"
Enabled = 0 'False
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 450
Left = 7845
TabIndex = 9
Top = 1515
Width = 1260
End
Begin VB.ComboBox Combo2
Height = 300
ItemData = "TCPServer.frx":212A
Left = 5160
List = "TCPServer.frx":2143
Style = 2 'Dropdown List
TabIndex = 22
Top = 5100
Width = 690
End
Begin RichTextLib.RichTextBox RTxtServer
Height = 4725
Left = -30
TabIndex = 21
Top = -15
Width = 6630
_ExtentX = 11695
_ExtentY = 8334
_Version = 393217
ReadOnly = -1 'True
ScrollBars = 2
AutoVerbMenu = -1 'True
TextRTF = $"TCPServer.frx":2163
End
Begin VB.ComboBox Combouse
Height = 300
ItemData = "TCPServer.frx":2200
Left = 810
List = "TCPServer.frx":2207
Style = 2 'Dropdown List
TabIndex = 19
Top = 4710
Width = 1155
End
Begin VB.ComboBox Combo1
Height = 300
ItemData = "TCPServer.frx":2213
Left = 2775
List = "TCPServer.frx":2215
Style = 2 'Dropdown List
TabIndex = 18
Top = 5100
Width = 1095
End
Begin VB.Frame Frame1
Caption = "在线人数列表"
Height = 2250
Left = 6645
TabIndex = 16
Top = 2430
Width = 2355
Begin VB.ListBox List1
Height = 1860
Left = 90
TabIndex = 17
Top = 285
Width = 2175
End
End
Begin MSComctlLib.ImageList ImageList1
Left = 7710
Top = 5025
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 20
ImageHeight = 20
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 15
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "TCPServer.frx":2217
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "TCPServer.frx":27F7
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "TCPServer.frx":2DD7
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "TCPServer.frx":33B7
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "TCPServer.frx":3997
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "TCPServer.frx":3DEF
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "TCPServer.frx":43A7
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "TCPServer.frx":498B
Key = ""
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "TCPServer.frx":4F6F
Key = ""
EndProperty
BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "TCPServer.frx":5553
Key = ""
EndProperty
BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "TCPServer.frx":5B37
Key = ""
EndProperty
BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "TCPServer.frx":611B
Key = ""
EndProperty
BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "TCPServer.frx":66FF
Key = ""
EndProperty
BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "TCPServer.frx":6C43
Key = ""
EndProperty
BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "TCPServer.frx":70E7
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.ImageCombo ImageCombo1
Height = 315
Left = 7005
TabIndex = 14
Top = 5055
Width = 660
_ExtentX = 1164
_ExtentY = 556
_Version = 393216
ForeColor = -2147483640
BackColor = -2147483643
Locked = -1 'True
ImageList = "ImageList1"
End
Begin VB.TextBox txtid
Height = 285
Left = 705
TabIndex = 12
Top = 5100
Width = 1350
End
Begin VB.CommandButton Command1
Caption = "字体"
Enabled = 0 'False
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 450
Left = 6600
TabIndex = 10
Top = 1515
Width = 1260
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 8370
Top = 5085
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.CommandButton CmdSend
Caption = "发送"
Height = 375
Left = 7950
TabIndex = 8
Top = 4680
Width = 885
End
Begin VB.TextBox TxtSend
Height = 315
Left = 2040
TabIndex = 2
Top = 4710
Width = 5640
End
Begin VB.CommandButton CmdClose
Caption = "关闭服务器"
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 480
Left = 7845
TabIndex = 3
Top = 1050
Width = 1260
End
Begin VB.CommandButton CmdStart
Caption = "启动服务器"
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 480
Left = 6600
TabIndex = 0
Top = 1050
Width = 1260
End
Begin VB.TextBox TxtPort
Height = 330
Left = 7560
TabIndex = 5
Text = "1080"
Top = 540
Width = 1470
End
Begin VB.TextBox TxtIP
Height = 330
Left = 7545
TabIndex = 4
Text = "127.0.0.1"
Top = 135
Width = 1470
End
Begin MSComctlLib.StatusBar SbarServer
Align = 2 'Align Bottom
Height = 375
Left = 0
TabIndex = 1
Top = 5445
Width = 9060
_ExtentX = 15981
_ExtentY = 661
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 4
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 5371
Key = "stat1"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 5371
Key = "stat2"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 6
Alignment = 1
TextSave = "2004-6-14"
Key = "stt4"
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 5
Alignment = 1
TextSave = "21:46"
Key = "stt5d"
EndProperty
EndProperty
End
Begin MSWinsockLib.Winsock tcpServer
Index = 0
Left = 6780
Top = 30
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
Begin VB.Label Label7
Caption = "字体大小"
BeginProperty Font
Name = "楷体_GB2312"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 4065
TabIndex = 23
Top = 5115
Width = 1095
End
Begin VB.Label Label6
Caption = "贴图"
BeginProperty Font
Name = "楷体_GB2312"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 6330
TabIndex = 20
Top = 5115
Width = 630
End
Begin VB.Label Label5
Caption = "对"
BeginProperty Font
Name = "楷体_GB2312"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -