⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usercontrol1.ctl

📁 这里有很多很实用的VB编程案例,方便大家学习VB.
💻 CTL
字号:
VERSION 5.00
Begin VB.UserControl UserControl1 
   ClientHeight    =   3600
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   4800
   ScaleHeight     =   3600
   ScaleWidth      =   4800
   Begin VB.Timer Timer1 
      Enabled         =   0   'False
      Interval        =   50
      Left            =   1800
      Top             =   1560
   End
   Begin VB.Label Label1 
      Height          =   495
      Left            =   1320
      TabIndex        =   0
      Top             =   360
      Width           =   1215
   End
End
Attribute VB_Name = "UserControl1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True

Private Sub Timer1_Timer()
    Label1.Caption = Time
End Sub

Public Property Get Enabled() As Boolean
    Enabled = Timer1.Enabled
End Property


Public Property Let Enabled(ByVal vNewValue As Boolean)
    Timer1.Enabled = vNewValue
End Property

Private Sub UserControl_Initialize()
    Label1.Caption = Time
End Sub

⌨️ 快捷键说明

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