Indice de capítulos Indice de capítulos Indice de capítulos

Programación de bases de datos con Visual Basic .NET

Listado 1.1

Código generado por el Diseñador de Windows Forms.

 

Public Class Form1

    Inherits System.Windows.Forms.Form

 

#Region " Código generado por el Diseñador de Windows Forms "

 

    Public Sub New()

        MyBase.New()

 

        'El Diseñador de Windows Forms requiere esta llamada.

        InitializeComponent()

 

        'Agregar cualquier inicialización después de la llamada a InitializeComponent()

 

    End Sub

 

    'Form reemplaza a Dispose para limpiar la lista de componentes.

    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

 

    'Requerido por el Diseñador de Windows Forms

    Private components As System.ComponentModel.IContainer

 

    'NOTA: el Diseñador de Windows Forms requiere el siguiente procedimiento

    'Puede modificarse utilizando el Diseñador de Windows Forms.

    'No lo modifique con el editor de código.

    Friend WithEvents Button1 As System.Windows.Forms.Button

    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

        Me.Button1 = New System.Windows.Forms.Button()

        Me.SuspendLayout()

        '

        'Button1

        '

        Me.Button1.Location = New System.Drawing.Point(168, 216)

        Me.Button1.Name = "Button1"

        Me.Button1.Size = New System.Drawing.Size(104, 32)

        Me.Button1.TabIndex = 0

        Me.Button1.Text = "Button1"

        '

        'Form1

        '

        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)

        Me.ClientSize = New System.Drawing.Size(292, 266)

        Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.Button1})

        Me.Name = "Form1"

        Me.Text = "Form1"

        Me.ResumeLayout(False)

 

    End Sub

 

#End Region