rendered paste bodyusing System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace TabControl
{
/// <summary>
/// Summary description for Form1.
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.TabControl tabControl;
private System.Windows.Forms.TabPage tabLogin;
private System.Windows.Forms.TabPage tabAdvanced;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public Form1()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.tabControl = new System.Windows.Forms.TabControl();
this.tabLogin = new System.Windows.Forms.TabPage();
this.tabAdvanced = new System.Windows.Forms.TabPage();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.tabControl.SuspendLayout();
this.tabLogin.SuspendLayout();
this.tabAdvanced.SuspendLayout();
this.SuspendLayout();
//
// tabControl
//
this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.tabControl.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
this.tabControl.Controls.Add(this.tabLogin);
this.tabControl.Controls.Add(this.tabAdvanced);
this.tabControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.tabControl.HotTrack = true;
this.tabControl.Location = new System.Drawing.Point(8, 32);
this.tabControl.Name = "tabControl";
this.tabControl.SelectedIndex = 0;
this.tabControl.Size = new System.Drawing.Size(272, 216);
this.tabControl.TabIndex = 6;
//
// tabLogin
//
this.tabLogin.Controls.Add(this.button2);
this.tabLogin.Location = new System.Drawing.Point(4, 25);
this.tabLogin.Name = "tabLogin";
this.tabLogin.Size = new System.Drawing.Size(264, 243);
this.tabLogin.TabIndex = 0;
this.tabLogin.Tag = "LOGIN";
this.tabLogin.Text = "Login Information";
//
// tabAdvanced
//
this.tabAdvanced.Controls.Add(this.button1);
this.tabAdvanced.Location = new System.Drawing.Point(4, 25);
this.tabAdvanced.Name = "tabAdvanced";
this.tabAdvanced.Size = new System.Drawing.Size(264, 187);
this.tabAdvanced.TabIndex = 1;
this.tabAdvanced.Tag = "ADVANCED";
this.tabAdvanced.Text = "Advanced";
//
// button1
//
this.button1.Location = new System.Drawing.Point(96, 112);
this.button1.Name = "button1";
this.button1.TabIndex = 0;
this.button1.Text = "Tab Two";
//
// button2
//
this.button2.Location = new System.Drawing.Point(95, 110);
this.button2.Name = "button2";
this.button2.TabIndex = 1;
this.button2.Text = "Tab One";
//
// button3
//
this.button3.Location = new System.Drawing.Point(112, 264);
this.button3.Name = "button3";
this.button3.TabIndex = 1;
this.button3.Text = "Visible";
//
// Form1
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(292, 310);
this.Controls.Add(this.tabControl);
this.Controls.Add(this.button3);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "Form1";
this.Text = "Form1";
this.tabControl.ResumeLayout(false);
this.tabLogin.ResumeLayout(false);
this.tabAdvanced.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.Run(new Form1());
}
}
}