© 2004 Microsoft Corporation. All rights reserved.
Figure 3 MasterForm Source Code
Friend WithEvents TabPage1 As System.Windows.Forms.TabPage
Friend WithEvents TabPage2 As System.Windows.Forms.TabPage
Friend WithEvents TabPage3 As System.Windows.Forms.TabPage
Friend WithEvents cmdHide2 As System.Windows.Forms.Button
Friend WithEvents cmdHide3 As System.Windows.Forms.Button
Friend WithEvents cmdAdd2 As System.Windows.Forms.Button
Protected WithEvents TabControl1 As System.Windows.Forms.TabControl
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
    Me.TabControl1 = New System.Windows.Forms.TabControl()
    Me.TabPage1 = New System.Windows.Forms.TabPage()
    Me.TabPage2 = New System.Windows.Forms.TabPage()
    Me.TabPage3 = New System.Windows.Forms.TabPage()
    Me.cmdHide2 = New System.Windows.Forms.Button()
    Me.cmdHide3 = New System.Windows.Forms.Button()
    Me.cmdAdd2 = New System.Windows.Forms.Button()
    Me.TabControl1.SuspendLayout()
    Me.SuspendLayout()
    '
    'TabControl1
    '
    Me.TabControl1.Controls.AddRange(New System.Windows.Forms.Control() 
      {Me.TabPage1, Me.TabPage2, Me.TabPage3})
    Me.TabControl1.Location = New System.Drawing.Point(64, 32)
    Me.TabControl1.Name = "TabControl1"
    Me.TabControl1.SelectedIndex = 0
    Me.TabControl1.Size = New System.Drawing.Size(400, 200)
    Me.TabControl1.TabIndex = 0
    '
    'TabPage1
    '
    Me.TabPage1.Location = New System.Drawing.Point(4, 22)
    Me.TabPage1.Name = "TabPage1"
    Me.TabPage1.Size = New System.Drawing.Size(392, 174)
    Me.TabPage1.TabIndex = 0
    Me.TabPage1.Text = "TabPage1"
    '
    'TabPage2
    '
    Me.TabPage2.Location = New System.Drawing.Point(4, 22)
    Me.TabPage2.Name = "TabPage2"
    Me.TabPage2.Size = New System.Drawing.Size(392, 174)
    Me.TabPage2.TabIndex = 1
    Me.TabPage2.Text = "TabPage2"
    '
    'TabPage3
    '
    Me.TabPage3.Location = New System.Drawing.Point(4, 22)
    Me.TabPage3.Name = "TabPage3"
    Me.TabPage3.Size = New System.Drawing.Size(392, 174)
    Me.TabPage3.TabIndex = 2
    Me.TabPage3.Text = "TabPage3"
    '
    'cmdHide2
    '
    Me.cmdHide2.Location = New System.Drawing.Point(480, 32)
    Me.cmdHide2.Name = "cmdHide2"
    Me.cmdHide2.TabIndex = 1
    Me.cmdHide2.Text = "Hide 2"
    '
    'cmdHide3
    '
    Me.cmdHide3.Location = New System.Drawing.Point(480, 64)
    Me.cmdHide3.Name = "cmdHide3"
    Me.cmdHide3.TabIndex = 2
    Me.cmdHide3.Text = "Hide 3"
    '
    'cmdAdd2
    '
    Me.cmdAdd2.Location = New System.Drawing.Point(480, 128)
    Me.cmdAdd2.Name = "cmdAdd2"
    Me.cmdAdd2.TabIndex = 3
    Me.cmdAdd2.Text = "Add 2"
    '
    'MasterForm
    '
    Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
    Me.ClientSize = New System.Drawing.Size(600, 302)
    Me.Controls.AddRange(New System.Windows.Forms.Control() 
      {Me.cmdAdd2, Me.cmdHide3, Me.cmdHide2, Me.TabControl1})
    Me.Name = "MasterForm"
    Me.Text = "MasterForm"
    Me.TabControl1.ResumeLayout(False)
    Me.ResumeLayout(False)

    End Sub

#End Region

Home
Current Issue
Topics
Issues
Columns
Downloads
Subscribe
Contact Us

Magazine