一聚教程网:一个值得你收藏的教程网站

热门教程

Visual Basic 6.0 控件和 .NET 控件的区别后记

时间:2022-07-02 11:58:35 编辑:袖梨 来源:一聚教程网

Public Class frmTest
    Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
    Public Sub New()
        MyBase.New()
        'Windows 窗体设计器必需此调用。
        InitializeComponent()
        '调用 InitializeComponent() 后添加初始化。
    End Sub
    '窗体覆盖配置以清除组件列表。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
    Friend WithEvents Label1 As System.Windows.Forms.Label
    Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
    Friend WithEvents Button1 As System.Windows.Forms.Button
    
    'Windows 窗体设计器所必需。
    Private components As System.ComponentModel.Container

热门栏目