_ Partial Class WinFormsUserControl Inherits System.Windows.Forms.UserControl 'UserControl overrides dispose to clean up the component list. _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try If disposing AndAlso components IsNot Nothing Then components.Dispose() End If Finally MyBase.Dispose(disposing) End Try End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. _ Private Sub InitializeComponent() Me.lblMessage = New System.Windows.Forms.Label() Me.tlpMain = New System.Windows.Forms.TableLayoutPanel() Me.tlpMain.SuspendLayout() Me.SuspendLayout() ' 'lblMessage ' Me.lblMessage.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _ Or System.Windows.Forms.AnchorStyles.Left) _ Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) Me.lblMessage.Location = New System.Drawing.Point(3, 0) Me.lblMessage.Name = "lblMessage" Me.lblMessage.Size = New System.Drawing.Size(267, 282) Me.lblMessage.TabIndex = 0 Me.lblMessage.Text = "WinForms User Control" Me.lblMessage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter ' 'tlpMain ' Me.tlpMain.ColumnCount = 1 Me.tlpMain.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50.0!)) Me.tlpMain.Controls.Add(Me.lblMessage, 0, 0) Me.tlpMain.Dock = System.Windows.Forms.DockStyle.Fill Me.tlpMain.Location = New System.Drawing.Point(0, 0) Me.tlpMain.Name = "tlpMain" Me.tlpMain.RowCount = 1 Me.tlpMain.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50.0!)) Me.tlpMain.Size = New System.Drawing.Size(273, 282) Me.tlpMain.TabIndex = 2 ' 'WinFormsUserControl ' Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 16.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.BackColor = System.Drawing.SystemColors.ActiveCaption Me.Controls.Add(Me.tlpMain) Me.Name = "WinFormsUserControl" Me.Size = New System.Drawing.Size(273, 282) Me.tlpMain.ResumeLayout(False) Me.ResumeLayout(False) End Sub Friend WithEvents lblMessage As Windows.Forms.Label Friend WithEvents tlpMain As Windows.Forms.TableLayoutPanel End Class