?? server.frm
字號:
VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form Server
BackColor = &H00EBF5F4&
Caption = "我的網絡聊天室(服務器)"
ClientHeight = 8280
ClientLeft = 60
ClientTop = 630
ClientWidth = 9795
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "Server.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 8280
ScaleWidth = 9795
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame1
Appearance = 0 'Flat
BackColor = &H00EBF5F4&
ForeColor = &H80000008&
Height = 975
Left = 0
TabIndex = 0
Top = 0
Width = 9760
Begin VB.PictureBox Picture1
BackColor = &H00EBF5F4&
BorderStyle = 0 'None
Height = 375
Left = 7305
Picture = "Server.frx":0CCA
ScaleHeight = 375
ScaleWidth = 375
TabIndex = 45
Top = 360
Width = 375
End
Begin VB.TextBox txtportno
Appearance = 0 'Flat
BackColor = &H00FFFFFF&
Height = 285
Left = 2160
Locked = -1 'True
TabIndex = 3
Text = "10000"
Top = 580
Width = 2295
End
Begin VB.TextBox txtservername
Appearance = 0 'Flat
Height = 285
Left = 2160
Locked = -1 'True
TabIndex = 2
Top = 240
Width = 2295
End
Begin VB.PictureBox Picture3
BackColor = &H00EBF5F4&
BorderStyle = 0 'None
Height = 495
Left = 4680
Picture = "Server.frx":0E0F
ScaleHeight = 495
ScaleWidth = 495
TabIndex = 1
Top = 300
Width = 495
End
Begin VB.CommandButton cmdlisten
BackColor = &H00EBF5F4&
Caption = " 啟動服務"
Height = 615
Left = 4560
Style = 1 'Graphical
TabIndex = 5
Top = 240
Width = 2560
End
Begin VB.CommandButton cmddisconnect
BackColor = &H00EBF5F4&
Caption = " 停止服務"
Enabled = 0 'False
Height = 615
Left = 7200
Style = 1 'Graphical
TabIndex = 4
Top = 240
Width = 2500
End
Begin VB.Shape Shape2
BorderColor = &H00FFFFFF&
Height = 735
Left = 130
Top = 190
Width = 855
End
Begin VB.Shape Shape1
BackColor = &H00EBF5F4&
Height = 735
Left = 120
Top = 180
Width = 855
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "端口 :"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 1
Left = 1200
TabIndex = 7
Top = 615
Width = 495
End
Begin VB.Image Image3
Height = 630
Left = 240
Picture = "Server.frx":2081
Top = 240
Width = 630
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "Port :"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 255
Index = 3
Left = 1210
TabIndex = 48
Top = 625
Width = 495
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "服務器 :"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 1
Left = 1200
TabIndex = 6
Top = 275
Width = 855
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "Server :"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 255
Index = 3
Left = 1215
TabIndex = 47
Top = 285
Width = 855
End
End
Begin VB.Timer Timer1
Interval = 20000
Left = 3315
Top = 4725
End
Begin VB.ListBox lstusersip
BeginProperty Font
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 900
Left = 1515
TabIndex = 25
Top = 8445
Width = 2175
End
Begin VB.Frame Frame3
Appearance = 0 'Flat
BackColor = &H00EBF5F4&
ForeColor = &H80000008&
Height = 495
Left = 0
TabIndex = 14
Top = 960
Width = 4095
Begin VB.Label lblstatus
BackStyle = 0 'Transparent
Caption = "Not Listening."
ForeColor = &H00800000&
Height = 255
Left = 2400
TabIndex = 15
Top = 180
Width = 1095
End
Begin VB.Image Image4
Height = 270
Left = 220
Picture = "Server.frx":256A
Top = 150
Width = 390
End
Begin VB.Shape shpstatus
BorderColor = &H00A56D39&
BorderWidth = 2
FillColor = &H000000FF&
FillStyle = 0 'Solid
Height = 255
Left = 120
Top = 165
Width = 615
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "狀態 :"
Height = 255
Left = 1200
TabIndex = 16
Top = 180
Width = 975
End
Begin VB.Label Label11
BackStyle = 0 'Transparent
Caption = "Status :"
ForeColor = &H00FFFFFF&
Height = 255
Left = 1210
TabIndex = 49
Top = 195
Width = 975
End
End
Begin VB.Frame Frame4
Appearance = 0 'Flat
BackColor = &H00EBF5F4&
ForeColor = &H80000008&
Height = 495
Left = 4155
TabIndex = 11
Top = 960
Width = 3060
Begin VB.Label lblclientsconn
BackStyle = 0 'Transparent
Caption = "1"
ForeColor = &H00800000&
Height = 255
Left = 2400
TabIndex = 12
Top = 180
Width = 500
End
Begin VB.Image Image2
Height = 480
Left = 240
Picture = "Server.frx":2929
Top = -20
Width = 480
End
Begin VB.Label Label6
BackStyle = 0 'Transparent
Caption = "在線用戶 :"
Height = 255
Left = 840
TabIndex = 13
Top = 180
Width = 1095
End
Begin VB.Label Label12
BackStyle = 0 'Transparent
Caption = "Users Online :"
ForeColor = &H00FFFFFF&
Height = 255
Left = 850
TabIndex = 50
Top = 195
Width = 1095
End
End
Begin VB.Frame Frame5
Appearance = 0 'Flat
BackColor = &H00EBF5F4&
ForeColor = &H80000008&
Height = 495
Left = 7275
TabIndex = 8
Top = 960
Width = 2500
Begin VB.Label lbltime
BackStyle = 0 'Transparent
Caption = "0"
ForeColor = &H00800000&
Height = 255
Left = 1200
TabIndex = 10
Top = 180
Width = 975
End
Begin VB.Image Image1
Height = 240
Left = 120
Picture = "Server.frx":35F3
Top = 0
Width = 240
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "時間 :"
Height = 255
Left = 600
TabIndex = 9
Top = 180
Width = 495
End
Begin VB.Label Label13
BackStyle = 0 'Transparent
Caption = "Time :"
ForeColor = &H00FFFFFF&
Height = 255
Left = 610
TabIndex = 51
Top = 195
Width = 495
End
End
Begin MSWinsockLib.Winsock tcpserver
Index = 0
Left = 3840
Top = 4725
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
Begin VB.Frame Frame11
Appearance = 0 'Flat
BackColor = &H00EBF5F4&
ForeColor = &H80000008&
Height = 375
Left = 0
TabIndex = 17
Top = 1410
Width = 9780
Begin VB.Label Label9
Alignment = 2 'Center
BackColor = &H00D0FDED&
BorderStyle = 1 'Fixed Single
Caption = "歡迎光臨枕善居 http://www.mndsoft.com"
ForeColor = &H00404040&
Height = 225
Left = 45
TabIndex = 18
Top = 120
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -