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

📄 form1.frm

📁 这是一本学习 window编程的很好的参考教材
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3192
   ClientLeft      =   60
   ClientTop       =   348
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3192
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
   Begin VB.TextBox Text2 
      Height          =   372
      Left            =   240
      TabIndex        =   5
      Top             =   1800
      Width           =   2292
   End
   Begin VB.TextBox Text1 
      Height          =   372
      Left            =   240
      TabIndex        =   2
      Top             =   960
      Width           =   2292
   End
   Begin VB.CommandButton Command2 
      Caption         =   "Stop"
      Height          =   495
      Left            =   3240
      TabIndex        =   1
      Top             =   1440
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      Caption         =   "Start"
      Height          =   495
      Left            =   3240
      TabIndex        =   0
      Top             =   600
      Width           =   1215
   End
   Begin VB.Label Label2 
      Caption         =   "请输入隐藏数据文件:"
      Height          =   252
      Left            =   240
      TabIndex        =   4
      Top             =   1440
      Width           =   1932
   End
   Begin VB.Label Label1 
      Caption         =   "请输入路径名:"
      Height          =   252
      Left            =   360
      TabIndex        =   3
      Top             =   600
      Width           =   1452
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim a
Private Sub Command1_Click()
Set a = CreateObject("Win98Hide.FileDir")
a.StartHide
a.EnableHide True
If Len(Text1.Text) <> 0 Then
a.PathFromString Text1.Text
Else
    If Len(Text2.Text) <> 0 Then
        a.PathFromFile Text2.Text
    End If
End If

End Sub

Private Sub Command2_Click()
    a.StopHide
End Sub

⌨️ 快捷键说明

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