最新下载
热门教程
- 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
相关文章
- 我的世界刷怪塔怎么建造 06-28
- 荣耀90gt怎么设置返回键图标 06-28
- 暑假去神农架原始丛林旅游如何有效防蚊虫 06-28
- 明日方舟终末地折金票详解 明日方舟终末地限定兑换道具全解析 06-28
- 明日方舟终末地衍质源石作用详解 明日方舟终末地衍质源石获取与使用方法 06-28
- 明日方舟终末地下载大小及最低配置要求详解 明日方舟终末地安装包体积与设备兼容性指南 06-28