📄 client.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"
Begin VB.Form frmClient
AutoRedraw = -1 'True
Caption = "QICQ"
ClientHeight = 6000
ClientLeft = 165
ClientTop = 735
ClientWidth = 1605
Icon = "Client.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 6000
ScaleWidth = 1605
StartUpPosition = 3 '窗口缺省
Begin VB.PictureBox picHate
AutoRedraw = -1 'True
Height = 2535
Left = 3000
ScaleHeight = 2475
ScaleWidth = 1155
TabIndex = 12
Top = 960
Width = 1215
Begin VB.HScrollBar HScroll2
Height = 255
Left = 0
TabIndex = 13
Top = 2160
Visible = 0 'False
Width = 1095
End
End
Begin VB.PictureBox picForeign
AutoRedraw = -1 'True
Height = 2535
Left = 3120
ScaleHeight = 2475
ScaleWidth = 1155
TabIndex = 10
Top = 1800
Width = 1215
Begin VB.HScrollBar HScroll3
Height = 255
Left = 0
TabIndex = 11
Top = 2160
Visible = 0 'False
Width = 1095
End
End
Begin VB.PictureBox picFriend
AutoRedraw = -1 'True
Height = 2535
Left = 120
ScaleHeight = 2475
ScaleWidth = 1155
TabIndex = 8
Top = 240
Width = 1215
Begin VB.HScrollBar HScroll
Height = 255
Left = 0
TabIndex = 9
Top = 2160
Visible = 0 'False
Width = 1095
End
Begin VB.Label lblName
Alignment = 2 'Center
AutoSize = -1 'True
Height = 180
Index = 0
Left = 240
TabIndex = 14
Top = 960
Width = 615
WordWrap = -1 'True
End
Begin VB.Image imgFriend
Height = 375
Index = 0
Left = 360
Top = 480
Width = 375
End
End
Begin MSComctlLib.TabStrip tabStrip
Height = 2895
Left = 0
TabIndex = 7
Top = 120
Width = 1695
_ExtentX = 2990
_ExtentY = 5106
TabWidthStyle = 1
MultiRow = -1 'True
Placement = 3
TabStyle = 1
ImageList = "ImageList"
_Version = 393216
BeginProperty Tabs {1EFB6598-857C-11D1-B16A-00C0F0283628}
NumTabs = 3
BeginProperty Tab1 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "好友"
Key = "friend"
ImageVarType = 2
EndProperty
BeginProperty Tab2 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "坏人"
Key = "hate"
ImageVarType = 2
EndProperty
BeginProperty Tab3 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "陌生人"
Key = "foreign"
ImageVarType = 2
EndProperty
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 8.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin MSWinsockLib.Winsock wskClient
Left = 1080
Top = 3120
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
Begin VB.CommandButton cmdRegister
Caption = "注册新用户"
Height = 420
Left = 120
TabIndex = 6
Top = 5520
Width = 1335
End
Begin VB.CommandButton cmdLogout
Caption = "注销"
Height = 600
Left = 840
TabIndex = 5
Top = 4800
Width = 600
End
Begin VB.CommandButton cmdLogin
Caption = "登录"
Height = 600
Left = 120
TabIndex = 0
Top = 4800
Width = 600
End
Begin VB.Frame Frame1
Height = 1695
Left = 0
TabIndex = 1
Top = 3000
Width = 1575
Begin VB.CommandButton cmdFind
Caption = "查询网友"
Height = 375
Left = 240
TabIndex = 4
Top = 720
Width = 1095
End
Begin VB.CommandButton cmdChat
Caption = "加入聊天室"
Height = 375
Left = 240
TabIndex = 3
Top = 1200
Width = 1095
End
Begin VB.CommandButton cmdInfo
Caption = "个人信息"
Height = 375
Left = 240
TabIndex = 2
Top = 240
Width = 1095
End
End
Begin MSComctlLib.ImageList ImageList
Left = 600
Top = 2520
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 10
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Client.frx":030A
Key = "f1"
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Client.frx":0626
Key = "f2"
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Client.frx":0942
Key = "f3"
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Client.frx":0D96
Key = "f4"
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Client.frx":10B2
Key = "f5"
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Client.frx":1506
Key = "f6"
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Client.frx":1822
Key = "f7"
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Client.frx":1B3E
Key = "f8"
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Client.frx":1E5A
Key = "f9"
EndProperty
BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Client.frx":22AE
Key = "f10"
EndProperty
EndProperty
End
Begin VB.Menu mnuLeft
Caption = ""
Begin VB.Menu mnuSendandGet
Caption = "接收和发送信息"
End
Begin VB.Menu mnuTwo
Caption = "二人聊天世界"
End
Begin VB.Menu mnuDetail
Caption = "详细信息"
End
End
Begin VB.Menu mnuRight
Caption = ""
Begin VB.Menu mnuDel
Caption = "删除"
End
Begin VB.Menu mnuHate
Caption = "设置为坏人"
End
Begin VB.Menu mnuFriend
Caption = "设置为好友"
End
End
End
Attribute VB_Name = "frmClient"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private HscrollValueBak As Long
Private Sub cmdChat_Click()
'聊天室
frmChat.Show
End Sub
Private Sub cmdFind_Click()
'查询网友
frmFind.Show
End Sub
Private Sub cmdInfo_Click()
'个人信息
frmSelf.Show
End Sub
Private Sub cmdLogin_Click()
'登录
frmLogin.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -