⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmexplorer.frm

📁 用VB实现的编译器的源代码
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmExplorer 
   BorderStyle     =   1  'Fest Einfach
   Caption         =   "Project Explorer"
   ClientHeight    =   3015
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4575
   BeginProperty Font 
      Name            =   "Tahoma"
      Size            =   8.25
      Charset         =   0
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   Icon            =   "frmExplorer.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3015
   ScaleWidth      =   4575
   StartUpPosition =   3  'Windows-Standard
   Begin VB.FileListBox fleProject 
      Height          =   3015
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   4575
   End
End
Attribute VB_Name = "frmExplorer"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub fleProject_Click()
    If LCase(Right(fleProject.FileName, 3)) = "res" Then
        Dim P As New frmForm
        newName$ = InputBox("If you want to edit the file, simply press OK, if you want to copy it somewhere, please enter the new file name.", "Open as...", fleProject.FileName)
        If newName = "" Then Exit Sub
        P.Tag = newName
        P.Show
        P.fLoad fleProject.Path & "\" & fleProject.FileName
    ElseIf LCase(Right(fleProject.FileName, 3)) = "bis" Then
        Dim TB As New frmEditor
        TB.Tag = fleProject.FileName
        TB.Show
        TB.Caption = TB.Tag & " - Source Code"
        TB.rtfCode.LoadFile fleProject.Path & "\" & fleProject.FileName
    Else
        Question = MsgBox("Do you really want to open this file? If it's a long binary file " & _
            "the syntax highlighting could make your computer hang.", vbYesNo + vbExclamation, "Caution!")
        If Question = vbYes Then
            Dim TC As New frmEditor
            TC.Tag = fleProject.FileName
            TC.Show
            TC.Caption = TB.Tag & " - Source Code"
            TC.rtfCode.LoadFile fleProject.Path & "\" & fleProject.FileName
        End If
    End If
    Unload Me
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -