📄 frmtest.frm
字号:
VERSION 5.00
Begin VB.Form frmTest
BorderStyle = 1 'Fixed Single
Caption = "Test the File Handler"
ClientHeight = 705
ClientLeft = 45
ClientTop = 435
ClientWidth = 5760
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 705
ScaleWidth = 5760
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton cmdDecrypt
Caption = "Decrypt the File in the folder."
Height = 495
Left = 2640
TabIndex = 1
Top = 120
Width = 3015
End
Begin VB.CommandButton cmdEncrypt
Caption = "Encrypt the file in folder."
Height = 495
Left = 360
TabIndex = 0
Top = 120
Width = 2055
End
End
Attribute VB_Name = "frmTest"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdDecrypt_Click()
Dim myFile As New clsFileHandler
myFile.Filename = App.Path & "\q.txt"
myFile.DecryptFileN App.Path, "jkjhfiwekkcvhwefknvkahehre34768bcbaiwger8r9734bkjbasdbfiuwqgiugvabkgiut87654"
End Sub
Private Sub cmdEncrypt_Click()
Dim myFile As New clsFileHandler
myFile.Filename = App.Path & "\q.txt"
myFile.EncryptFile App.Path, "jkjhfiwekkcvhwefknvkahehre34768bcbaiwger8r9734bkjbasdbfiuwqgiugvabkgiut87654"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -