最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
一个使用用户控件(包括组件)的演示
时间:2022-07-02 11:58:27 编辑:袖梨 来源:一聚教程网
1.
Imports System.ComponentModel
Public Class pic
Inherits System.Windows.Forms.UserControl
#Region " Windows 窗体设计器生成的代码 "
'UserControl1 重写 dispose 以清理组件列表。
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Windows 窗体设计器所必需的
Private components As System.ComponentModel.IContainer
'注意:以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器修改此过程。
'不要使用代码编辑器修改它。
Private Sub InitializeComponent()
'
'pic
'
Me.Name = "pic"
Me.Size = New System.Drawing.Size(48, 48)
End Sub
#End Region
Imports System.ComponentModel
Public Class pic
Inherits System.Windows.Forms.UserControl
#Region " Windows 窗体设计器生成的代码 "
'UserControl1 重写 dispose 以清理组件列表。
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Windows 窗体设计器所必需的
Private components As System.ComponentModel.IContainer
'注意:以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器修改此过程。
'不要使用代码编辑器修改它。
'
'pic
'
Me.Name = "pic"
Me.Size = New System.Drawing.Size(48, 48)
End Sub
#End Region
相关文章
- 《光与影 33号远征队》周年纪念销售数据更新 05-13
- 《光与影 33号远征队》的结局是这款RPG最精彩的部分 05-13
- 异环自选S级角色推荐 05-13
- 唐门技能攻略(唐门技能攻略详解,助你成为顶级强者) 05-13
- 她收藏的稀有宝可梦传说 阿尔宙斯卡牌数量史无前例 引发了广泛关注 05-13
- 据报道 早期玩家认为 Fairgames 试玩体验“乏味” 05-13