📄 frmignore.frm
字号:
VERSION 5.00
Begin VB.Form frmIgnore
BorderStyle = 1 'Fixed Single
Caption = "Ignore List"
ClientHeight = 3195
ClientLeft = 45
ClientTop = 330
ClientWidth = 3630
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3195
ScaleWidth = 3630
StartUpPosition = 3 'Windows Default
Begin VB.TextBox Text1
Height = 285
Left = 2280
TabIndex = 3
Top = 840
Width = 1215
End
Begin VB.CommandButton Command2
Caption = "Remove"
Height = 375
Left = 2280
TabIndex = 2
Top = 1800
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "Add"
Height = 375
Left = 2280
TabIndex = 1
Top = 1320
Width = 1215
End
Begin VB.ListBox List1
Height = 2790
ItemData = "frmIgnore.frx":0000
Left = 120
List = "frmIgnore.frx":0002
TabIndex = 0
Top = 240
Width = 1935
End
End
Attribute VB_Name = "frmIgnore"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text = "" Then
MsgBox "You forgot to enter a name."
Exit Sub
End If
MyIM.Winsock1.SendData ".AddIgnore " & Text1.Text
Text1.Text = ""
End Sub
Private Sub Command2_Click()
MyIM.Winsock1.SendData ".RemoveIgnore " & List1.ListIndex
End Sub
Private Sub Form_Load()
MyIM.Winsock1.SendData ".GetIgnoreList"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -