📄 帮助.frm
字号:
VERSION 5.00
Begin VB.Form kouling
Caption = "kouling"
ClientHeight = 2820
ClientLeft = 60
ClientTop = 345
ClientWidth = 5010
LinkTopic = "Form1"
ScaleHeight = 2820
ScaleWidth = 5010
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text2
Height = 615
Left = 1440
TabIndex = 2
Text = "Text2"
Top = 840
Width = 1575
End
Begin VB.TextBox Text1
Height = 495
Left = 1560
TabIndex = 1
Text = "Text1"
Top = 120
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "Command1"
Height = 495
Left = 1440
TabIndex = 0
Top = 2040
Width = 1455
End
End
Attribute VB_Name = "kouling"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Text1 = ""
Text2 = ""
End Sub
Private Sub Text1_Change()
Dim tmp, tmpchrcode, tmppwd
For i = 1 To Len(Text1)
tmp = Mid(Text1, i, 1)
Select Case tmp
Case "A": tmppwd = "Y"
Case "B": tmppwd = "Z"
Case "a": tmppwd = "y"
Case "b": tmppwd = "z"
Case Else: tmppwd = Chr(Asc(tmp) - 2)
End Select
Text2 = Text2 & tmppwd
Next
End Sub
Private Sub Text1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Text1 = "" Then
Text2 = ""
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -