📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "Base64编码、解码类"
ClientHeight = 3300
ClientLeft = 45
ClientTop = 330
ClientWidth = 7125
Icon = "Form1.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3300
ScaleWidth = 7125
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text3
Height = 345
Left = 1080
TabIndex = 4
Top = 2010
Width = 5640
End
Begin VB.CommandButton Command2
Caption = "解码"
Height = 420
Left = 4950
TabIndex = 3
Top = 2505
Width = 1770
End
Begin VB.TextBox Text2
Height = 345
Left = 1095
TabIndex = 2
Top = 1162
Width = 5640
End
Begin VB.TextBox Text1
Height = 345
Left = 1050
TabIndex = 1
Text = "欢迎光临枕善居,我们的网站地址是: http://www.mndsoft.com"
Top = 315
Width = 5670
End
Begin VB.CommandButton Command1
Caption = "编码"
Height = 465
Left = 2490
TabIndex = 0
Top = 2475
Width = 1725
End
Begin VB.Label Label4
Caption = "人人为我,我为人人 http://www.mndsoft.com"
ForeColor = &H000080FF&
Height = 285
Left = 105
TabIndex = 8
Top = 3015
Width = 3720
End
Begin VB.Label Label3
Caption = "解码信息:"
Height = 255
Left = 165
TabIndex = 7
Top = 2100
Width = 1035
End
Begin VB.Label Label2
Caption = "编码信息:"
Height = 240
Left = 120
TabIndex = 6
Top = 1245
Width = 945
End
Begin VB.Label Label1
Caption = "原信息:"
Height = 255
Left = 135
TabIndex = 5
Top = 375
Width = 795
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'编码
Private Sub Command1_Click()
Dim dih As New Class1
Text2 = dih.Base64Encode(Text1)
End Sub
'解码
Private Sub Command2_Click()
Dim dih As New Class1
Text3 = dih.Base64Decode(Text2)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -