📄 frmmain.frm
字号:
VERSION 5.00
Begin VB.Form frmMain
Caption = "汉字转声母 Demo"
ClientHeight = 3585
ClientLeft = 60
ClientTop = 345
ClientWidth = 6165
LinkTopic = "Form1"
ScaleHeight = 3585
ScaleWidth = 6165
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton cmdChg
Caption = "&Change"
Default = -1 'True
Height = 350
Left = 4845
TabIndex = 2
Top = 840
Width = 1200
End
Begin VB.TextBox txtDest
Height = 1005
Left = 90
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 1
Top = 2490
Width = 5955
End
Begin VB.TextBox txtSrc
Height = 1575
Left = 90
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 0
Top = 810
Width = 4605
End
Begin VB.Label Label1
Caption = $"frmMain.frx":0000
Height = 630
Left = 75
TabIndex = 3
Top = 90
Width = 6030
End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim mHZtoSM As cHztoSM
Private Sub cmdChg_Click()
txtDest.Text = mHZtoSM.HZtoSMEx(txtSrc.Text)
End Sub
Private Sub Form_Load()
Set mHZtoSM = New cHztoSM
mHZtoSM.LoadLibFile App.Path & "\GB2312SM.Lib"
If mHZtoSM.LoadLibSuccess = False Then Unload Me
End Sub
Private Sub Form_Unload(Cancel As Integer)
Set mHZtoSM = Nothing
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -