?? frmmain.frm
字號:
VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "mswinsck.ocx"
Begin VB.Form frmMain
BorderStyle = 3 'Fixed Dialog
Caption = "File Transfer Demo"
ClientHeight = 705
ClientLeft = 45
ClientTop = 330
ClientWidth = 4680
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 705
ScaleWidth = 4680
ShowInTaskbar = 0 'False
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton cmdSendFile
Caption = "Send A File!"
Height = 495
Left = 120
TabIndex = 0
Top = 120
Width = 4455
End
Begin MSWinsockLib.Winsock wsListen
Left = 3960
Top = 720
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub cmdSendFile_Click()
SendFile "127.0.0.1" 'change destination
End Sub
Private Sub Form_Load()
wsListen.LocalPort = FT_USE_PORT
wsListen.Listen
End Sub
Private Sub wsListen_ConnectionRequest(ByVal requestID As Long)
ConnectReq requestID
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -