TableLayoutPanel : TableLayoutPanel « GUI « VB.Net Tutorial

Home
VB.Net Tutorial
1.Language Basics
2.Data Type
3.Operator
4.Statements
5.Date Time
6.Class Module
7.Development
8.Collections
9.Generics
10.Attributes
11.Event
12.LINQ
13.Stream File
14.GUI
15.GUI Applications
16.Windows Presentation Foundation
17.2D Graphics
18.I18N Internationlization
19.Reflection
20.Regular Expressions
21.Security
22.Socket Network
23.Thread
24.Windows
25.XML
26.Database ADO.net
27.Design Patterns
VB.Net
VB.Net by API
VB.Net Tutorial » GUI » TableLayoutPanel 
14.46.1.TableLayoutPanel
TableLayoutPanel
Imports System.Windows.Forms

public class FlowLayoutPanelTableLayoutPanel
   public Shared Sub Main
        Application.Run(New Form1)
   End Sub
End class

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Public Class Form1
    Inherits System.Windows.Forms.Form

    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing AndAlso components IsNot Nothing Then
            components.Dispose()
        End If
        MyBase.Dispose(disposing)
    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.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Me.TableLayoutPanel1 = New System.Windows.Forms.TableLayoutPanel
        Me.FlowLayoutPanel1 = New System.Windows.Forms.FlowLayoutPanel
        Me.Button1 = New System.Windows.Forms.Button
        Me.Label1 = New System.Windows.Forms.Label
        Me.Label2 = New System.Windows.Forms.Label
        Me.Button2 = New System.Windows.Forms.Button
        Me.Button3 = New System.Windows.Forms.Button
        Me.Button4 = New System.Windows.Forms.Button
        Me.Button5 = New System.Windows.Forms.Button
        Me.Button6 = New System.Windows.Forms.Button
        Me.Button7 = New System.Windows.Forms.Button
        Me.Button8 = New System.Windows.Forms.Button
        Me.Button9 = New System.Windows.Forms.Button
        Me.Button10 = New System.Windows.Forms.Button
        Me.Button11 = New System.Windows.Forms.Button
        Me.Button12 = New System.Windows.Forms.Button
        Me.Button13 = New System.Windows.Forms.Button
        Me.Button14 = New System.Windows.Forms.Button
        Me.Button15 = New System.Windows.Forms.Button
        Me.Button16 = New System.Windows.Forms.Button
        Me.Button17 = New System.Windows.Forms.Button
        Me.Button18 = New System.Windows.Forms.Button
        Me.TableLayoutPanel1.SuspendLayout()
        Me.FlowLayoutPanel1.SuspendLayout()
        Me.SuspendLayout()
        '
        'TableLayoutPanel1
        '
        Me.TableLayoutPanel1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom_
                    Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
        Me.TableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.OutsetDouble
        Me.TableLayoutPanel1.ColumnCount = 2
        Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50.0!))
        Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50.0!))
        Me.TableLayoutPanel1.Controls.Add(Me.Button10, 00)
        Me.TableLayoutPanel1.Controls.Add(Me.Button11, 10)
        Me.TableLayoutPanel1.Controls.Add(Me.Button12, 01)
        Me.TableLayoutPanel1.Controls.Add(Me.Button13, 11)
        Me.TableLayoutPanel1.Controls.Add(Me.Button14, 02)
        Me.TableLayoutPanel1.Controls.Add(Me.Button15, 12)
        Me.TableLayoutPanel1.Controls.Add(Me.Button16, 03)
        Me.TableLayoutPanel1.Controls.Add(Me.Button17, 13)
        Me.TableLayoutPanel1.Controls.Add(Me.Button18, 04)
        Me.TableLayoutPanel1.Location = New System.Drawing.Point(26416)
        Me.TableLayoutPanel1.Name = "TableLayoutPanel1"
        Me.TableLayoutPanel1.RowCount = 5
        Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20.0!))
        Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20.0!))
        Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20.0!))
        Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20.0!))
        Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20.0!))
        Me.TableLayoutPanel1.Size = New System.Drawing.Size(248173)
        Me.TableLayoutPanel1.TabIndex = 0
        '
        'FlowLayoutPanel1
        '
        Me.FlowLayoutPanel1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom_
                    Or System.Windows.Forms.AnchorStyles.Left), System.Windows.Forms.AnchorStyles)
        Me.FlowLayoutPanel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
        Me.FlowLayoutPanel1.Controls.Add(Me.Button1)
        Me.FlowLayoutPanel1.Controls.Add(Me.Button2)
        Me.FlowLayoutPanel1.Controls.Add(Me.Button3)
        Me.FlowLayoutPanel1.Controls.Add(Me.Button4)
        Me.FlowLayoutPanel1.Controls.Add(Me.Button5)
        Me.FlowLayoutPanel1.Controls.Add(Me.Button6)
        Me.FlowLayoutPanel1.Controls.Add(Me.Button7)
        Me.FlowLayoutPanel1.Controls.Add(Me.Button8)
        Me.FlowLayoutPanel1.Controls.Add(Me.Button9)
        Me.FlowLayoutPanel1.Location = New System.Drawing.Point(016)
        Me.FlowLayoutPanel1.Name = "FlowLayoutPanel1"
        Me.FlowLayoutPanel1.Size = New System.Drawing.Size(256173)
        Me.FlowLayoutPanel1.TabIndex = 1
        '
        'Button1
        '
        Me.Button1.Location = New System.Drawing.Point(33)
        Me.Button1.Name = "Button1"
        Me.Button1.Size = New System.Drawing.Size(7224)
        Me.Button1.TabIndex = 0
        Me.Button1.Text = "Button1"
        '
        'Label1
        '
        Me.Label1.AutoSize = True
        Me.Label1.Location = New System.Drawing.Point(00)
        Me.Label1.Name = "Label1"
        Me.Label1.Size = New System.Drawing.Size(8413)
        Me.Label1.TabIndex = 2
        Me.Label1.Text = "FlowLayoutPanel"
        '
        'Label2
        '
        Me.Label2.AutoSize = True
        Me.Label2.Location = New System.Drawing.Point(2640)
        Me.Label2.Name = "Label2"
        Me.Label2.Size = New System.Drawing.Size(8913)
        Me.Label2.TabIndex = 3
        Me.Label2.Text = "TableLayoutPanel"
        '
        'Button2
        '
        Me.Button2.Location = New System.Drawing.Point(813)
        Me.Button2.Name = "Button2"
        Me.Button2.Size = New System.Drawing.Size(7224)
        Me.Button2.TabIndex = 1
        Me.Button2.Text = "Button2"
        '
        'Button3
        '
        Me.Button3.Location = New System.Drawing.Point(1593)
        Me.Button3.Name = "Button3"
        Me.Button3.Size = New System.Drawing.Size(7224)
        Me.Button3.TabIndex = 2
        Me.Button3.Text = "Button3"
        '
        'Button4
        '
        Me.Button4.Location = New System.Drawing.Point(333)
        Me.Button4.Name = "Button4"
        Me.Button4.Size = New System.Drawing.Size(7224)
        Me.Button4.TabIndex = 3
        Me.Button4.Text = "Button4"
        '
        'Button5
        '
        Me.Button5.Location = New System.Drawing.Point(8133)
        Me.Button5.Name = "Button5"
        Me.Button5.Size = New System.Drawing.Size(7224)
        Me.Button5.TabIndex = 4
        Me.Button5.Text = "Button5"
        '
        'Button6
        '
        Me.Button6.Location = New System.Drawing.Point(15933)
        Me.Button6.Name = "Button6"
        Me.Button6.Size = New System.Drawing.Size(7224)
        Me.Button6.TabIndex = 5
        Me.Button6.Text = "Button6"
        '
        'Button7
        '
        Me.Button7.Location = New System.Drawing.Point(363)
        Me.Button7.Name = "Button7"
        Me.Button7.Size = New System.Drawing.Size(7224)
        Me.Button7.TabIndex = 6
        Me.Button7.Text = "Button7"
        '
        'Button8
        '
        Me.Button8.Location = New System.Drawing.Point(8163)
        Me.Button8.Name = "Button8"
        Me.Button8.Size = New System.Drawing.Size(7224)
        Me.Button8.TabIndex = 7
        Me.Button8.Text = "Button8"
        '
        'Button9
        '
        Me.Button9.Location = New System.Drawing.Point(15963)
        Me.Button9.Name = "Button9"
        Me.Button9.Size = New System.Drawing.Size(7224)
        Me.Button9.TabIndex = 8
        Me.Button9.Text = "Button9"
        '
        'Button10
        '
        Me.Button10.Anchor = System.Windows.Forms.AnchorStyles.None
        Me.Button10.Location = New System.Drawing.Point(266)
        Me.Button10.Name = "Button10"
        Me.Button10.Size = New System.Drawing.Size(7224)
        Me.Button10.TabIndex = 9
        Me.Button10.Text = "Button10"
        '
        'Button11
        '
        Me.Button11.Anchor = System.Windows.Forms.AnchorStyles.None
        Me.Button11.Location = New System.Drawing.Point(1496)
        Me.Button11.Name = "Button11"
        Me.Button11.Size = New System.Drawing.Size(7224)
        Me.Button11.TabIndex = 10
        Me.Button11.Text = "Button11"
        '
        'Button12
        '
        Me.Button12.Anchor = System.Windows.Forms.AnchorStyles.None
        Me.Button12.Location = New System.Drawing.Point(2640)
        Me.Button12.Name = "Button12"
        Me.Button12.Size = New System.Drawing.Size(7224)
        Me.Button12.TabIndex = 11
        Me.Button12.Text = "Button12"
        '
        'Button13
        '
        Me.Button13.Anchor = System.Windows.Forms.AnchorStyles.None
        Me.Button13.Location = New System.Drawing.Point(14940)
        Me.Button13.Name = "Button13"
        Me.Button13.Size = New System.Drawing.Size(7224)
        Me.Button13.TabIndex = 12
        Me.Button13.Text = "Button13"
        '
        'Button14
        '
        Me.Button14.Anchor = System.Windows.Forms.AnchorStyles.None
        Me.Button14.Location = New System.Drawing.Point(2674)
        Me.Button14.Name = "Button14"
        Me.Button14.Size = New System.Drawing.Size(7224)
        Me.Button14.TabIndex = 13
        Me.Button14.Text = "Button14"
        '
        'Button15
        '
        Me.Button15.Anchor = System.Windows.Forms.AnchorStyles.None
        Me.Button15.Location = New System.Drawing.Point(14974)
        Me.Button15.Name = "Button15"
        Me.Button15.Size = New System.Drawing.Size(7224)
        Me.Button15.TabIndex = 14
        Me.Button15.Text = "Button15"
        '
        'Button16
        '
        Me.Button16.Anchor = System.Windows.Forms.AnchorStyles.None
        Me.Button16.Location = New System.Drawing.Point(26108)
        Me.Button16.Name = "Button16"
        Me.Button16.Size = New System.Drawing.Size(7224)
        Me.Button16.TabIndex = 15
        Me.Button16.Text = "Button16"
        '
        'Button17
        '
        Me.Button17.Anchor = System.Windows.Forms.AnchorStyles.None
        Me.Button17.Location = New System.Drawing.Point(149108)
        Me.Button17.Name = "Button17"
        Me.Button17.Size = New System.Drawing.Size(7224)
        Me.Button17.TabIndex = 16
        Me.Button17.Text = "Button17"
        '
        'Button18
        '
        Me.Button18.Anchor = System.Windows.Forms.AnchorStyles.None
        Me.Button18.Location = New System.Drawing.Point(26142)
        Me.Button18.Name = "Button18"
        Me.Button18.Size = New System.Drawing.Size(7224)
        Me.Button18.TabIndex = 17
        Me.Button18.Text = "Button18"
        '
        'Form1
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(514190)
        Me.Controls.Add(Me.Label2)
        Me.Controls.Add(Me.Label1)
        Me.Controls.Add(Me.FlowLayoutPanel1)
        Me.Controls.Add(Me.TableLayoutPanel1)
        Me.Name = "Form1"
        Me.Text = "FlowAndTableLayoutPanel"
        Me.TableLayoutPanel1.ResumeLayout(False)
        Me.FlowLayoutPanel1.ResumeLayout(False)
        Me.ResumeLayout(False)
        Me.PerformLayout()

    End Sub
    Friend WithEvents TableLayoutPanel1 As System.Windows.Forms.TableLayoutPanel
    Friend WithEvents FlowLayoutPanel1 As System.Windows.Forms.FlowLayoutPanel
    Friend WithEvents Button1 As System.Windows.Forms.Button
    Friend WithEvents Label1 As System.Windows.Forms.Label
    Friend WithEvents Label2 As System.Windows.Forms.Label
    Friend WithEvents Button10 As System.Windows.Forms.Button
    Friend WithEvents Button11 As System.Windows.Forms.Button
    Friend WithEvents Button12 As System.Windows.Forms.Button
    Friend WithEvents Button13 As System.Windows.Forms.Button
    Friend WithEvents Button14 As System.Windows.Forms.Button
    Friend WithEvents Button15 As System.Windows.Forms.Button
    Friend WithEvents Button16 As System.Windows.Forms.Button
    Friend WithEvents Button17 As System.Windows.Forms.Button
    Friend WithEvents Button18 As System.Windows.Forms.Button
    Friend WithEvents Button2 As System.Windows.Forms.Button
    Friend WithEvents Button3 As System.Windows.Forms.Button
    Friend WithEvents Button4 As System.Windows.Forms.Button
    Friend WithEvents Button5 As System.Windows.Forms.Button
    Friend WithEvents Button6 As System.Windows.Forms.Button
    Friend WithEvents Button7 As System.Windows.Forms.Button
    Friend WithEvents Button8 As System.Windows.Forms.Button
    Friend WithEvents Button9 As System.Windows.Forms.Button

End Class
14.46.TableLayoutPanel
14.46.1.TableLayoutPanelTableLayoutPanel
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.