📄 form1.frm
字号:
VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Begin VB.Form 客户端
Caption = "客户端"
ClientHeight = 7740
ClientLeft = 60
ClientTop = 450
ClientWidth = 12525
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
ScaleHeight = 7740
ScaleWidth = 12525
StartUpPosition = 3 '窗口缺省
Begin VB.Frame Frame4
Caption = "聊天"
Height = 855
Left = 240
TabIndex = 24
Top = 6720
Width = 9495
Begin VB.CommandButton Command8
Caption = "发送"
Height = 495
Left = 8160
TabIndex = 26
Top = 240
Width = 1215
End
Begin VB.TextBox Text2
Height = 375
Left = 240
TabIndex = 25
Top = 240
Width = 7695
End
End
Begin VB.ListBox List2
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 5100
Left = 4440
TabIndex = 23
Top = 1560
Width = 5295
End
Begin VB.Frame Frame3
Caption = "用户列表"
Height = 7335
Left = 9840
TabIndex = 21
Top = 120
Width = 2535
Begin VB.ListBox List1
Height = 6780
Left = 120
TabIndex = 22
Top = 360
Width = 2295
End
End
Begin VB.Frame Frame2
Caption = "命令"
Height = 2055
Left = 240
TabIndex = 15
Top = 4080
Width = 3975
Begin VB.CommandButton Command7
Caption = "结束"
Height = 615
Left = 1440
TabIndex = 20
Top = 1080
Width = 975
End
Begin VB.CommandButton Command6
Caption = "战争"
Height = 615
Left = 240
TabIndex = 19
Top = 1080
Width = 975
End
Begin VB.CommandButton Command5
Caption = "征兵"
Height = 615
Left = 2640
TabIndex = 18
Top = 360
Width = 975
End
Begin VB.CommandButton Command4
Caption = "卖米"
Height = 615
Left = 1440
TabIndex = 17
Top = 360
Width = 975
End
Begin VB.CommandButton Command3
Caption = "买米"
Height = 615
Left = 240
TabIndex = 16
Top = 360
Width = 975
End
End
Begin VB.Frame Frame1
Caption = "基本资料"
Height = 3495
Left = 240
TabIndex = 2
Top = 240
Width = 3975
Begin VB.TextBox Text1
Height = 375
Index = 5
Left = 840
TabIndex = 14
Top = 2880
Width = 2775
End
Begin VB.TextBox Text1
Height = 375
Index = 4
Left = 840
TabIndex = 13
Top = 2400
Width = 2775
End
Begin VB.TextBox Text1
Height = 375
Index = 3
Left = 840
TabIndex = 12
Top = 1920
Width = 2775
End
Begin VB.TextBox Text1
Height = 375
Index = 2
Left = 840
TabIndex = 11
Top = 1440
Width = 2775
End
Begin VB.TextBox Text1
Height = 375
Index = 1
Left = 840
TabIndex = 10
Top = 960
Width = 1095
End
Begin VB.TextBox Text1
Height = 375
Index = 0
Left = 840
TabIndex = 9
Top = 480
Width = 1815
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "米价"
Height = 735
Index = 5
Left = 240
TabIndex = 8
Top = 2880
Width = 1935
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "士兵"
Height = 735
Index = 4
Left = 240
TabIndex = 7
Top = 2400
Width = 1935
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "粮草"
Height = 735
Index = 3
Left = 240
TabIndex = 6
Top = 1920
Width = 1935
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "金钱"
Height = 735
Index = 2
Left = 240
TabIndex = 5
Top = 1440
Width = 1935
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "战力"
Height = 495
Index = 1
Left = 240
TabIndex = 4
Top = 960
Width = 1935
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "名字"
Height = 735
Index = 0
Left = 240
TabIndex = 3
Top = 480
Width = 1935
End
End
Begin VB.CommandButton Command2
Caption = "注册"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 8400
TabIndex = 1
Top = 840
Width = 1335
End
Begin VB.CommandButton Command1
Caption = "登录"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 8400
TabIndex = 0
Top = 120
Width = 1335
End
Begin MSWinsockLib.Winsock Winsock1
Left = 4560
Top = 0
_ExtentX = 741
_ExtentY = 741
_Version = 393216
RemotePort = 1980
LocalPort = 1979
End
End
Attribute VB_Name = "客户端"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim LoginOk As Boolean
Private Type userIdStruct
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -