hhanzitopinyin.ctl

来自「将汉字转拼音表转入数据库的程序」· CTL 代码 · 共 42 行

CTL
42
字号
VERSION 5.00
Begin VB.UserControl HHanZiToPinYin 
   AutoRedraw      =   -1  'True
   BackColor       =   &H00FF0000&
   ClientHeight    =   480
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   480
   ScaleHeight     =   480
   ScaleWidth      =   480
   Begin VB.Image Image1 
      Height          =   480
      Left            =   30
      Top             =   0
      Visible         =   0   'False
      Width           =   480
   End
End
Attribute VB_Name = "HHanZiToPinYin"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True


Private Sub UserControl_Initialize()
    UserControl.Width = Image1.Width
    UserControl.Height = Image1.Height
    UserControl.PaintPicture Image1.Picture, 0, 0, UserControl.Width, UserControl.Height, 0, 0, Image1.Width, Image1.Height
End Sub


Public Function Xpic(Index As Integer) As Picture
    If Index = 0 Then Exit Function
    Set Xpic = LoadResPicture(100 + Index, 0)
End Function

Private Sub UserControl_Resize()
    UserControl.Width = Image1.Width
    UserControl.Height = Image1.Height
End Sub

⌨️ 快捷键说明

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