📄 frmmain.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Begin VB.Form frmMain
ClientHeight = 5925
ClientLeft = 7710
ClientTop = 6165
ClientWidth = 7425
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "frmMain.frx":0000
LinkTopic = "Form1"
ScaleHeight = 5925
ScaleWidth = 7425
StartUpPosition = 2 'CenterScreen
Begin VB.ListBox lstProcesses
Height = 840
Left = 5160
TabIndex = 14
Top = 4680
Visible = 0 'False
Width = 255
End
Begin MSWinsockLib.Winsock UP
Index = 0
Left = 5880
Top = 4680
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
Begin MSWinsockLib.Winsock UDP
Index = 0
Left = 6360
Top = 4680
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
Begin VB.Frame Frame1
Height = 30
Left = 120
TabIndex = 13
Top = 2400
Width = 7215
End
Begin MSComctlLib.ListView lstTransfer
Height = 1815
Left = 120
TabIndex = 12
Top = 2760
Width = 7215
_ExtentX = 12726
_ExtentY = 3201
View = 3
LabelEdit = 1
LabelWrap = -1 'True
HideSelection = -1 'True
FullRowSelect = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 4
BeginProperty ColumnHeader(1) {BDD1F052-858B-11D1-B16A-00C0F0283628}
Text = "File Name"
Object.Width = 4975
EndProperty
BeginProperty ColumnHeader(2) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 1
Text = "File Size"
Object.Width = 2540
EndProperty
BeginProperty ColumnHeader(3) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 2
Text = "IP Address"
Object.Width = 2540
EndProperty
BeginProperty ColumnHeader(4) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 3
Text = "Status"
Object.Width = 2540
EndProperty
End
Begin MSComctlLib.ListView lstOutput
Height = 1935
Left = 120
TabIndex = 10
Top = 360
Width = 7215
_ExtentX = 12726
_ExtentY = 3413
View = 3
LabelEdit = 1
LabelWrap = -1 'True
HideSelection = -1 'True
FullRowSelect = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 2
BeginProperty ColumnHeader(1) {BDD1F052-858B-11D1-B16A-00C0F0283628}
Text = "Details"
Object.Width = 7056
EndProperty
BeginProperty ColumnHeader(2) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 1
Text = "Time/Date"
Object.Width = 2540
EndProperty
End
Begin VB.ListBox lstSharedFolders
Height = 840
Left = 5520
TabIndex = 8
Top = 4680
Visible = 0 'False
Width = 255
End
Begin VB.Timer TimerUptime
Interval = 1000
Left = 6360
Top = 5160
End
Begin VB.Frame FrameStatus
Caption = "Server Status"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1095
Left = 120
TabIndex = 1
Top = 4680
Width = 3255
Begin VB.Label txtElapsed
Caption = "00:00:00"
ForeColor = &H000000FF&
Height = 255
Left = 1560
TabIndex = 7
Top = 720
Width = 1095
End
Begin VB.Label lblUptimeasdf
Caption = "Uptime:"
Height = 255
Left = 120
TabIndex = 6
Top = 720
Width = 855
End
Begin VB.Label lblServerRunning
ForeColor = &H000000FF&
Height = 255
Left = 1560
TabIndex = 5
Top = 240
Width = 1575
End
Begin VB.Label Label2
Caption = "Server Address:"
Height = 255
Left = 120
TabIndex = 4
Top = 240
Width = 1215
End
Begin VB.Label lblConnections
Caption = "0"
ForeColor = &H000000FF&
Height = 255
Left = 1560
TabIndex = 3
Top = 480
Width = 1095
End
Begin VB.Label Label3
Caption = "Current Users:"
Height = 255
Left = 120
TabIndex = 2
Top = 480
Width = 1215
End
End
Begin VB.Frame frameTop
Height = 25
Left = 0
TabIndex = 0
Top = 0
Width = 7575
End
Begin VB.Timer Timer1
Interval = 100
Left = 5880
Top = 5160
End
Begin MSWinsockLib.Winsock Server
Index = 0
Left = 6840
Top = 4680
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
Begin VB.Image Image1
Height = 240
Left = 4800
Picture = "frmMain.frx":014A
Top = 4680
Visible = 0 'False
Width = 240
End
Begin VB.Label lblTransfer
Caption = "File Transfer:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 120
TabIndex = 11
Top = 2520
Width = 1815
End
Begin VB.Label lblOutput
Caption = "Server Output:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 120
TabIndex = 9
Top = 120
Width = 1575
End
Begin VB.Menu File_MNU
Caption = "&File"
Begin VB.Menu StartServer_MNU
Caption = "Start Server"
Shortcut = {F1}
End
Begin VB.Menu TerminateServer_MNU
Caption = "Terminate Server"
Shortcut = {F2}
End
Begin VB.Menu line1
Caption = "-"
End
Begin VB.Menu TerminateandExit_MNU
Caption = "&Exit Andromeda RFS"
End
End
Begin VB.Menu Users_MENU
Caption = "&Users"
Begin VB.Menu MUsers_MENU
Caption = "&Manage Users"
Shortcut = ^U
End
Begin VB.Menu CreateNewUser_MENU
Caption = "&Create New User..."
Shortcut = ^N
End
Begin VB.Menu Logs_MENU
Caption = "&Server Logs"
Begin VB.Menu ServerOutputHistory_MENU
Caption = "View Server Output History..."
End
Begin VB.Menu LoginHistory_MENU
Caption = "&View User Login History"
End
Begin VB.Menu TransferLog_MENU
Caption = "View File Transfer Log"
End
End
End
Begin VB.Menu Tools_MENU
Caption = "&Tools"
Begin VB.Menu ManageDirs_MENU
Caption = "Manage &Shared Directories"
End
Begin VB.Menu sep8
Caption = "-"
End
Begin VB.Menu Config_MENU
Caption = "Server &Configuration"
Shortcut = ^C
End
End
Begin VB.Menu Help_MENU
Caption = "&Help"
Begin VB.Menu About_MENU
Caption = "About Andromeda RFS"
End
Begin VB.Menu WebSite_MENU
Caption = "Visit Web Site"
End
End
Begin VB.Menu MNU
Caption = ""
Visible = 0 'False
Begin VB.Menu ccommands_MENU
Caption = "&Shared Directories..."
End
Begin VB.Menu ManageUsers_MENU
Caption = "&Manage Users..."
End
Begin VB.Menu CNewUser_MENU
Caption = "&Create New User..."
End
Begin VB.Menu sep9
Caption = "-"
End
Begin VB.Menu ServerLogs_MENU
Caption = "Server &Logs"
Begin VB.Menu FileTransferHistory_MENU
Caption = "View File Transfer History..."
End
Begin VB.Menu VLoginHistory_MENU
Caption = "View &Login History..."
End
Begin VB.Menu VOutputLog_MENU
Caption = "View Server &Output Log..."
End
End
Begin VB.Menu State_MENU
Caption = "Server State"
Begin VB.Menu Enable_MENU
Caption = "Enable Server"
End
Begin VB.Menu Disable_MENU
Caption = "Disable Server"
End
End
Begin VB.Menu sep10
Caption = "-"
End
Begin VB.Menu TProcess_MENU
Caption = "&Exit Andromeda RFS"
End
End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public intMax As Integer
Public intMax2 As Integer
Public ttlLogins As Integer
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -