📄 frmmain.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Begin VB.MDIForm frmMain
BackColor = &H8000000C&
Caption = " Andromeda RFS (Client)"
ClientHeight = 7635
ClientLeft = 165
ClientTop = 735
ClientWidth = 10215
Icon = "frmMain.frx":0000
LinkTopic = "MDIForm1"
NegotiateToolbars= 0 'False
StartUpPosition = 3 'Windows Default
Begin MSComctlLib.ImageList ImageList3
Left = 1320
Top = 720
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 1
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":1E72
Key = ""
EndProperty
EndProperty
End
Begin VB.PictureBox StatusWindow
Align = 2 'Align Bottom
BorderStyle = 0 'None
Height = 1815
Left = 0
ScaleHeight = 1815
ScaleWidth = 10215
TabIndex = 2
Top = 5520
Width = 10215
Begin RichTextLib.RichTextBox txtStatus
Height = 1455
Left = 0
TabIndex = 5
Top = 360
Width = 10185
_ExtentX = 17965
_ExtentY = 2566
_Version = 393217
Enabled = -1 'True
ReadOnly = -1 'True
ScrollBars = 2
TextRTF = $"frmMain.frx":220E
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin MSComctlLib.Toolbar CloseStatus
Height = 330
Left = 9840
TabIndex = 4
Top = 25
Width = 375
_ExtentX = 661
_ExtentY = 582
ButtonWidth = 609
ButtonHeight = 582
AllowCustomize = 0 'False
Style = 1
ImageList = "ImageList3"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 1
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
ImageIndex = 1
EndProperty
EndProperty
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "Status:"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Left = 120
TabIndex = 3
Top = 120
Width = 600
End
End
Begin MSComctlLib.ImageList ImageList2
Left = 720
Top = 720
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 2
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":22F0
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":4AA4
Key = ""
EndProperty
EndProperty
End
Begin MSWinsockLib.Winsock Winsock
Left = 120
Top = 1680
_ExtentX = 741
_ExtentY = 741
_Version = 393216
End
Begin MSComctlLib.StatusBar Status
Align = 2 'Align Bottom
Height = 300
Left = 0
TabIndex = 1
Top = 7335
Width = 10215
_ExtentX = 18018
_ExtentY = 529
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 1
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Bevel = 0
Object.Width = 450
MinWidth = 450
Picture = "frmMain.frx":4F04
EndProperty
EndProperty
End
Begin MSComctlLib.ImageList ImageList1
Left = 120
Top = 720
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 2
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":52A4
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":5640
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 600
Left = 0
TabIndex = 0
Top = 0
Width = 10215
_ExtentX = 18018
_ExtentY = 1058
ButtonWidth = 1032
ButtonHeight = 1005
AllowCustomize = 0 'False
Appearance = 1
Style = 1
ImageList = "ImageList2"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 3
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Object.ToolTipText = "Show Server List"
ImageIndex = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Object.ToolTipText = "File Transfer"
Style = 3
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Enabled = 0 'False
ImageIndex = 2
EndProperty
EndProperty
End
Begin VB.Menu mnuFile
Caption = "&File"
Begin VB.Menu mnuExit
Caption = "E&xit"
Shortcut = ^Q
End
End
Begin VB.Menu mnuEdit
Caption = "&Edit"
Begin VB.Menu mnuPreferences
Caption = "Preferences..."
Shortcut = ^P
End
End
Begin VB.Menu mnuServer
Caption = "&Server"
Begin VB.Menu mnuConnect
Caption = "&Connect"
Enabled = 0 'False
Shortcut = ^C
End
Begin VB.Menu mnuDisconnect
Caption = "&Disconnect"
Enabled = 0 'False
Shortcut = ^D
End
Begin VB.Menu sep1
Caption = "-"
End
Begin VB.Menu mnuViewServers
Caption = "View Server List"
Shortcut = ^L
End
Begin VB.Menu mnuNewServerWiz
Caption = "New Server &Wizard"
End
End
Begin VB.Menu mnuActions
Caption = "&Actions"
Visible = 0 'False
Begin VB.Menu Processes_MNU
Caption = "Spawn/Terminate Server Processes"
Shortcut = ^S
End
Begin VB.Menu sep4
Caption = "-"
End
Begin VB.Menu mnuFileTransfer
Caption = "File Transfer"
Shortcut = ^F
End
End
Begin VB.Menu mnuWindow
Caption = "&Window"
WindowList = -1 'True
Begin VB.Menu mnuStatusWindow
Caption = "Status"
Checked = -1 'True
Shortcut = {F2}
End
Begin VB.Menu sep3
Caption = "-"
End
Begin VB.Menu mnuTileVert
Caption = "Tile &Vertically"
End
Begin VB.Menu mnuTileHor
Caption = "Tile &Horizontally"
End
Begin VB.Menu mnuCascade
Caption = "&Cascade"
End
Begin VB.Menu mnuArrange
Caption = "&Arrange Windows"
End
End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub MDIForm_Unload(Cancel As Integer)
End
End Sub
Private Sub mnuFileTransfer_Click()
frmFileView.Show
frmFileView.Caption = "File Transfer - " + CurrentServer.ServerLabel
End Sub
Private Sub mnuPreferences_Click()
frmOptions.Show vbApplicationModal
End Sub
'Implements iSubClass
Private Sub mnuServer_Click()
If CurrentServer.ServerIP <> "" Then
mnuConnect.Caption = "&Connect to " + CurrentServer.ServerLabel
Else
mnuConnect.Caption = "&Connect"
End If
End Sub
Private Sub CloseStatus_ButtonClick(ByVal Button As MSComctlLib.Button)
StatusWindow.Visible = False
mnuStatusWindow.Checked = False
End Sub
Private Sub MDIForm_Load()
Me.WindowState = vbMaximized
If ShowServerList = 1 Then
frmServers.Show
Toolbar1.Buttons(1).Value = tbrPressed
End If
'frmFileView.Show
End Sub
Private Sub MDIForm_Resize()
On Error Resume Next
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -