Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

vtTab: Tab Control Extender Class

, 25 May 2009 CPOL
A class used to extend the visual appearance of the tab control
vtTab.zip
vtTab.suo
vtTab
bin
Debug
vtTab.exe
vtTab.vshost.exe
vtTab.vshost.exe.manifest
Properties
Settings.settings
Resources
bg.bmp
pos1.bmp
tab1.png
tab2.bmp
tab3.png
tab4.png
vtTab.csproj.user
namespace vtTab
{
    partial class frmMain
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (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.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
            this.imageList1 = new System.Windows.Forms.ImageList(this.components);
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.tabPage1 = new System.Windows.Forms.TabPage();
            this.label20 = new System.Windows.Forms.Label();
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.label19 = new System.Windows.Forms.Label();
            this.tabPage3 = new System.Windows.Forms.TabPage();
            this.label18 = new System.Windows.Forms.Label();
            this.tabPage4 = new System.Windows.Forms.TabPage();
            this.label17 = new System.Windows.Forms.Label();
            this.tabPage5 = new System.Windows.Forms.TabPage();
            this.label1 = new System.Windows.Forms.Label();
            this.tabPage6 = new System.Windows.Forms.TabPage();
            this.label2 = new System.Windows.Forms.Label();
            this.tabPage7 = new System.Windows.Forms.TabPage();
            this.label9 = new System.Windows.Forms.Label();
            this.tabPage8 = new System.Windows.Forms.TabPage();
            this.label8 = new System.Windows.Forms.Label();
            this.tabPage9 = new System.Windows.Forms.TabPage();
            this.label5 = new System.Windows.Forms.Label();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.rbStyleExplorer = new System.Windows.Forms.RadioButton();
            this.lblTabReset = new System.Windows.Forms.Label();
            this.chkPropImages = new System.Windows.Forms.CheckBox();
            this.chkPropEnabled = new System.Windows.Forms.CheckBox();
            this.chkPropMultiline = new System.Windows.Forms.CheckBox();
            this.label11 = new System.Windows.Forms.Label();
            this.label10 = new System.Windows.Forms.Label();
            this.lblTabRemove = new System.Windows.Forms.Label();
            this.lblTabAdd = new System.Windows.Forms.Label();
            this.rbStyleCustom = new System.Windows.Forms.RadioButton();
            this.rbStyleVista = new System.Windows.Forms.RadioButton();
            this.rbStyleBitmap = new System.Windows.Forms.RadioButton();
            this.chkTipIcon = new System.Windows.Forms.CheckBox();
            this.chkTipTitle = new System.Windows.Forms.CheckBox();
            this.chkTipEnable = new System.Windows.Forms.CheckBox();
            this.label7 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.lblOrientW = new System.Windows.Forms.Label();
            this.lblOrientN = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.lblOrientE = new System.Windows.Forms.Label();
            this.lblOrientS = new System.Windows.Forms.Label();
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.tabControl1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            this.tabPage2.SuspendLayout();
            this.tabPage3.SuspendLayout();
            this.tabPage4.SuspendLayout();
            this.tabPage5.SuspendLayout();
            this.tabPage6.SuspendLayout();
            this.tabPage7.SuspendLayout();
            this.tabPage8.SuspendLayout();
            this.tabPage9.SuspendLayout();
            this.groupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            this.SuspendLayout();
            // 
            // imageList1
            // 
            this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "abiword.png");
            this.imageList1.Images.SetKeyName(1, "config-users.png");
            this.imageList1.Images.SetKeyName(2, "display-capplet.png");
            this.imageList1.Images.SetKeyName(3, "synaptic.png");
            // 
            // tabControl1
            // 
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage2);
            this.tabControl1.Controls.Add(this.tabPage3);
            this.tabControl1.Controls.Add(this.tabPage4);
            this.tabControl1.Controls.Add(this.tabPage5);
            this.tabControl1.Controls.Add(this.tabPage6);
            this.tabControl1.Controls.Add(this.tabPage7);
            this.tabControl1.Controls.Add(this.tabPage8);
            this.tabControl1.Controls.Add(this.tabPage9);
            this.tabControl1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.tabControl1.ImageList = this.imageList1;
            this.tabControl1.ItemSize = new System.Drawing.Size(72, 28);
            this.tabControl1.Location = new System.Drawing.Point(12, 23);
            this.tabControl1.Multiline = true;
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(422, 224);
            this.tabControl1.TabIndex = 3;
            // 
            // tabPage1
            // 
            this.tabPage1.Controls.Add(this.label20);
            this.tabPage1.ImageIndex = 0;
            this.tabPage1.Location = new System.Drawing.Point(4, 60);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size = new System.Drawing.Size(414, 160);
            this.tabPage1.TabIndex = 1;
            this.tabPage1.Text = "Test Page 1";
            this.tabPage1.ToolTipText = "Test ToolTip 1";
            this.tabPage1.UseVisualStyleBackColor = true;
            // 
            // label20
            // 
            this.label20.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.label20.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label20.Location = new System.Drawing.Point(150, 90);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(82, 17);
            this.label20.TabIndex = 31;
            this.label20.Text = "Test Control 1";
            this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // tabPage2
            // 
            this.tabPage2.Controls.Add(this.label19);
            this.tabPage2.ImageIndex = 1;
            this.tabPage2.Location = new System.Drawing.Point(4, 60);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage2.Size = new System.Drawing.Size(414, 160);
            this.tabPage2.TabIndex = 2;
            this.tabPage2.Text = "Test Page 2";
            this.tabPage2.ToolTipText = "Test ToolTip 2";
            this.tabPage2.UseVisualStyleBackColor = true;
            // 
            // label19
            // 
            this.label19.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label19.Location = new System.Drawing.Point(150, 90);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(82, 17);
            this.label19.TabIndex = 31;
            this.label19.Text = "Test Control 2";
            this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // tabPage3
            // 
            this.tabPage3.Controls.Add(this.label18);
            this.tabPage3.ImageIndex = 2;
            this.tabPage3.Location = new System.Drawing.Point(4, 60);
            this.tabPage3.Name = "tabPage3";
            this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage3.Size = new System.Drawing.Size(414, 160);
            this.tabPage3.TabIndex = 3;
            this.tabPage3.Text = "Test Page 3";
            this.tabPage3.ToolTipText = "Test ToolTip 3";
            this.tabPage3.UseVisualStyleBackColor = true;
            // 
            // label18
            // 
            this.label18.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label18.Location = new System.Drawing.Point(150, 90);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(82, 17);
            this.label18.TabIndex = 31;
            this.label18.Text = "Test Control 3";
            this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // tabPage4
            // 
            this.tabPage4.Controls.Add(this.label17);
            this.tabPage4.ImageIndex = 3;
            this.tabPage4.Location = new System.Drawing.Point(4, 60);
            this.tabPage4.Name = "tabPage4";
            this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage4.Size = new System.Drawing.Size(414, 160);
            this.tabPage4.TabIndex = 4;
            this.tabPage4.Text = "Test Page 4";
            this.tabPage4.ToolTipText = "Test ToolTip 4";
            this.tabPage4.UseVisualStyleBackColor = true;
            // 
            // label17
            // 
            this.label17.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label17.Location = new System.Drawing.Point(150, 90);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(82, 17);
            this.label17.TabIndex = 30;
            this.label17.Text = "Test Control 4";
            this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // tabPage5
            // 
            this.tabPage5.Controls.Add(this.label1);
            this.tabPage5.Location = new System.Drawing.Point(4, 60);
            this.tabPage5.Name = "tabPage5";
            this.tabPage5.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage5.Size = new System.Drawing.Size(414, 160);
            this.tabPage5.TabIndex = 5;
            this.tabPage5.Text = "Test Page 5";
            this.tabPage5.ToolTipText = "Test ToolTip 5";
            this.tabPage5.UseVisualStyleBackColor = true;
            // 
            // label1
            // 
            this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.Location = new System.Drawing.Point(150, 90);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(82, 17);
            this.label1.TabIndex = 31;
            this.label1.Text = "Test Control 5";
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // tabPage6
            // 
            this.tabPage6.Controls.Add(this.label2);
            this.tabPage6.Location = new System.Drawing.Point(4, 60);
            this.tabPage6.Name = "tabPage6";
            this.tabPage6.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage6.Size = new System.Drawing.Size(414, 160);
            this.tabPage6.TabIndex = 6;
            this.tabPage6.Text = "Test Page 6";
            this.tabPage6.ToolTipText = "Test ToolTip 6";
            this.tabPage6.UseVisualStyleBackColor = true;
            // 
            // label2
            // 
            this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.Location = new System.Drawing.Point(150, 90);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(82, 17);
            this.label2.TabIndex = 32;
            this.label2.Text = "Test Control 6";
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // tabPage7
            // 
            this.tabPage7.Controls.Add(this.label9);
            this.tabPage7.Location = new System.Drawing.Point(4, 60);
            this.tabPage7.Name = "tabPage7";
            this.tabPage7.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage7.Size = new System.Drawing.Size(414, 160);
            this.tabPage7.TabIndex = 7;
            this.tabPage7.Text = "Test Page 7";
            this.tabPage7.ToolTipText = "Test ToolTip 7";
            this.tabPage7.UseVisualStyleBackColor = true;
            // 
            // label9
            // 
            this.label9.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label9.Location = new System.Drawing.Point(150, 90);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(82, 17);
            this.label9.TabIndex = 32;
            this.label9.Text = "Test Control 7";
            this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // tabPage8
            // 
            this.tabPage8.Controls.Add(this.label8);
            this.tabPage8.Location = new System.Drawing.Point(4, 60);
            this.tabPage8.Name = "tabPage8";
            this.tabPage8.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage8.Size = new System.Drawing.Size(414, 160);
            this.tabPage8.TabIndex = 8;
            this.tabPage8.Text = "Test Page 8";
            this.tabPage8.ToolTipText = "Test ToolTip 8";
            this.tabPage8.UseVisualStyleBackColor = true;
            // 
            // label8
            // 
            this.label8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label8.Location = new System.Drawing.Point(150, 90);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(82, 17);
            this.label8.TabIndex = 32;
            this.label8.Text = "Test Control 8";
            this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // tabPage9
            // 
            this.tabPage9.Controls.Add(this.label5);
            this.tabPage9.Location = new System.Drawing.Point(4, 60);
            this.tabPage9.Name = "tabPage9";
            this.tabPage9.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage9.Size = new System.Drawing.Size(414, 160);
            this.tabPage9.TabIndex = 9;
            this.tabPage9.Text = "Test Page 9";
            this.tabPage9.ToolTipText = "Test ToolTip 9";
            this.tabPage9.UseVisualStyleBackColor = true;
            // 
            // label5
            // 
            this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label5.Location = new System.Drawing.Point(150, 90);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(82, 17);
            this.label5.TabIndex = 32;
            this.label5.Text = "Test Control 9";
            this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            // 
            // groupBox1
            // 
            this.groupBox1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("groupBox1.BackgroundImage")));
            this.groupBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.groupBox1.Controls.Add(this.rbStyleExplorer);
            this.groupBox1.Controls.Add(this.lblTabReset);
            this.groupBox1.Controls.Add(this.chkPropImages);
            this.groupBox1.Controls.Add(this.chkPropEnabled);
            this.groupBox1.Controls.Add(this.chkPropMultiline);
            this.groupBox1.Controls.Add(this.label11);
            this.groupBox1.Controls.Add(this.label10);
            this.groupBox1.Controls.Add(this.lblTabRemove);
            this.groupBox1.Controls.Add(this.lblTabAdd);
            this.groupBox1.Controls.Add(this.rbStyleCustom);
            this.groupBox1.Controls.Add(this.rbStyleVista);
            this.groupBox1.Controls.Add(this.rbStyleBitmap);
            this.groupBox1.Controls.Add(this.chkTipIcon);
            this.groupBox1.Controls.Add(this.chkTipTitle);
            this.groupBox1.Controls.Add(this.chkTipEnable);
            this.groupBox1.Controls.Add(this.label7);
            this.groupBox1.Controls.Add(this.label6);
            this.groupBox1.Controls.Add(this.lblOrientW);
            this.groupBox1.Controls.Add(this.lblOrientN);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.lblOrientE);
            this.groupBox1.Controls.Add(this.lblOrientS);
            this.groupBox1.Controls.Add(this.pictureBox1);
            this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.groupBox1.Location = new System.Drawing.Point(10, 263);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(424, 216);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Options";
            // 
            // rbStyleExplorer
            // 
            this.rbStyleExplorer.AutoSize = true;
            this.rbStyleExplorer.BackColor = System.Drawing.Color.Transparent;
            this.rbStyleExplorer.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.rbStyleExplorer.Location = new System.Drawing.Point(23, 100);
            this.rbStyleExplorer.Name = "rbStyleExplorer";
            this.rbStyleExplorer.Size = new System.Drawing.Size(69, 17);
            this.rbStyleExplorer.TabIndex = 37;
            this.rbStyleExplorer.Text = "I-Explorer";
            this.rbStyleExplorer.UseVisualStyleBackColor = false;
            this.rbStyleExplorer.CheckedChanged += new System.EventHandler(this.rbStyleExplorer_CheckedChanged);
            // 
            // lblTabReset
            // 
            this.lblTabReset.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.lblTabReset.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblTabReset.Location = new System.Drawing.Point(156, 86);
            this.lblTabReset.Name = "lblTabReset";
            this.lblTabReset.Size = new System.Drawing.Size(82, 17);
            this.lblTabReset.TabIndex = 36;
            this.lblTabReset.Text = "Reset";
            this.lblTabReset.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblTabReset.MouseLeave += new System.EventHandler(this.lblTabReset_MouseLeave);
            this.lblTabReset.Click += new System.EventHandler(this.lblTabReset_Click);
            this.lblTabReset.MouseEnter += new System.EventHandler(this.lblTabReset_MouseEnter);
            // 
            // chkPropImages
            // 
            this.chkPropImages.AutoSize = true;
            this.chkPropImages.BackColor = System.Drawing.Color.Transparent;
            this.chkPropImages.Checked = true;
            this.chkPropImages.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chkPropImages.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chkPropImages.Location = new System.Drawing.Point(156, 180);
            this.chkPropImages.Name = "chkPropImages";
            this.chkPropImages.Size = new System.Drawing.Size(82, 17);
            this.chkPropImages.TabIndex = 35;
            this.chkPropImages.Text = "Tab Images";
            this.chkPropImages.UseVisualStyleBackColor = false;
            this.chkPropImages.CheckedChanged += new System.EventHandler(this.chkPropImages_CheckedChanged);
            // 
            // chkPropEnabled
            // 
            this.chkPropEnabled.AutoSize = true;
            this.chkPropEnabled.BackColor = System.Drawing.Color.Transparent;
            this.chkPropEnabled.Checked = true;
            this.chkPropEnabled.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chkPropEnabled.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chkPropEnabled.Location = new System.Drawing.Point(156, 158);
            this.chkPropEnabled.Name = "chkPropEnabled";
            this.chkPropEnabled.Size = new System.Drawing.Size(65, 17);
            this.chkPropEnabled.TabIndex = 34;
            this.chkPropEnabled.Text = "Enabled";
            this.chkPropEnabled.UseVisualStyleBackColor = false;
            this.chkPropEnabled.CheckedChanged += new System.EventHandler(this.chkPropEnabled_CheckedChanged);
            // 
            // chkPropMultiline
            // 
            this.chkPropMultiline.AutoSize = true;
            this.chkPropMultiline.BackColor = System.Drawing.Color.Transparent;
            this.chkPropMultiline.Checked = true;
            this.chkPropMultiline.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chkPropMultiline.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chkPropMultiline.Location = new System.Drawing.Point(156, 136);
            this.chkPropMultiline.Name = "chkPropMultiline";
            this.chkPropMultiline.Size = new System.Drawing.Size(64, 17);
            this.chkPropMultiline.TabIndex = 33;
            this.chkPropMultiline.Text = "Multiline";
            this.chkPropMultiline.UseVisualStyleBackColor = false;
            this.chkPropMultiline.CheckedChanged += new System.EventHandler(this.chkPropMultiline_CheckedChanged);
            // 
            // label11
            // 
            this.label11.AutoSize = true;
            this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label11.Location = new System.Drawing.Point(154, 121);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(57, 12);
            this.label11.TabIndex = 32;
            this.label11.Text = "Properties";
            // 
            // label10
            // 
            this.label10.AutoSize = true;
            this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label10.Location = new System.Drawing.Point(154, 28);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(42, 12);
            this.label10.TabIndex = 31;
            this.label10.Text = "Control";
            // 
            // lblTabRemove
            // 
            this.lblTabRemove.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.lblTabRemove.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblTabRemove.Location = new System.Drawing.Point(156, 66);
            this.lblTabRemove.Name = "lblTabRemove";
            this.lblTabRemove.Size = new System.Drawing.Size(82, 17);
            this.lblTabRemove.TabIndex = 30;
            this.lblTabRemove.Text = "Remove Tab";
            this.lblTabRemove.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblTabRemove.MouseLeave += new System.EventHandler(this.lblTabRemove_MouseLeave);
            this.lblTabRemove.Click += new System.EventHandler(this.lblTabRemove_Click);
            this.lblTabRemove.MouseEnter += new System.EventHandler(this.lblTabRemove_MouseEnter);
            // 
            // lblTabAdd
            // 
            this.lblTabAdd.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.lblTabAdd.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblTabAdd.Location = new System.Drawing.Point(156, 44);
            this.lblTabAdd.Name = "lblTabAdd";
            this.lblTabAdd.Size = new System.Drawing.Size(82, 17);
            this.lblTabAdd.TabIndex = 29;
            this.lblTabAdd.Text = "Add Tab";
            this.lblTabAdd.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblTabAdd.MouseLeave += new System.EventHandler(this.lblTabAdd_MouseLeave);
            this.lblTabAdd.Click += new System.EventHandler(this.lblTabAdd_Click);
            this.lblTabAdd.MouseEnter += new System.EventHandler(this.lblTabAdd_MouseEnter);
            // 
            // rbStyleCustom
            // 
            this.rbStyleCustom.AutoSize = true;
            this.rbStyleCustom.BackColor = System.Drawing.Color.Transparent;
            this.rbStyleCustom.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.rbStyleCustom.Location = new System.Drawing.Point(23, 81);
            this.rbStyleCustom.Name = "rbStyleCustom";
            this.rbStyleCustom.Size = new System.Drawing.Size(60, 17);
            this.rbStyleCustom.TabIndex = 28;
            this.rbStyleCustom.Text = "Custom";
            this.rbStyleCustom.UseVisualStyleBackColor = false;
            this.rbStyleCustom.CheckedChanged += new System.EventHandler(this.rbStyleCustom_CheckedChanged);
            // 
            // rbStyleVista
            // 
            this.rbStyleVista.AutoSize = true;
            this.rbStyleVista.BackColor = System.Drawing.Color.Transparent;
            this.rbStyleVista.Checked = true;
            this.rbStyleVista.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.rbStyleVista.Location = new System.Drawing.Point(23, 63);
            this.rbStyleVista.Name = "rbStyleVista";
            this.rbStyleVista.Size = new System.Drawing.Size(48, 17);
            this.rbStyleVista.TabIndex = 27;
            this.rbStyleVista.TabStop = true;
            this.rbStyleVista.Text = "Vista";
            this.rbStyleVista.UseVisualStyleBackColor = false;
            this.rbStyleVista.CheckedChanged += new System.EventHandler(this.rbStyleVista_CheckedChanged);
            // 
            // rbStyleBitmap
            // 
            this.rbStyleBitmap.AutoSize = true;
            this.rbStyleBitmap.BackColor = System.Drawing.Color.Transparent;
            this.rbStyleBitmap.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.rbStyleBitmap.Location = new System.Drawing.Point(23, 44);
            this.rbStyleBitmap.Name = "rbStyleBitmap";
            this.rbStyleBitmap.Size = new System.Drawing.Size(57, 17);
            this.rbStyleBitmap.TabIndex = 26;
            this.rbStyleBitmap.Text = "Bitmap";
            this.rbStyleBitmap.UseVisualStyleBackColor = false;
            this.rbStyleBitmap.CheckedChanged += new System.EventHandler(this.rbStyleBitmap_CheckedChanged);
            // 
            // chkTipIcon
            // 
            this.chkTipIcon.AutoSize = true;
            this.chkTipIcon.BackColor = System.Drawing.Color.Transparent;
            this.chkTipIcon.Checked = true;
            this.chkTipIcon.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chkTipIcon.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chkTipIcon.Location = new System.Drawing.Point(24, 180);
            this.chkTipIcon.Name = "chkTipIcon";
            this.chkTipIcon.Size = new System.Drawing.Size(47, 17);
            this.chkTipIcon.TabIndex = 25;
            this.chkTipIcon.Text = "Icon";
            this.chkTipIcon.UseVisualStyleBackColor = false;
            this.chkTipIcon.CheckedChanged += new System.EventHandler(this.chkTipIcon_CheckedChanged);
            // 
            // chkTipTitle
            // 
            this.chkTipTitle.AutoSize = true;
            this.chkTipTitle.BackColor = System.Drawing.Color.Transparent;
            this.chkTipTitle.Checked = true;
            this.chkTipTitle.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chkTipTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chkTipTitle.Location = new System.Drawing.Point(24, 158);
            this.chkTipTitle.Name = "chkTipTitle";
            this.chkTipTitle.Size = new System.Drawing.Size(46, 17);
            this.chkTipTitle.TabIndex = 24;
            this.chkTipTitle.Text = "Title";
            this.chkTipTitle.UseVisualStyleBackColor = false;
            this.chkTipTitle.CheckedChanged += new System.EventHandler(this.chkTipTitle_CheckedChanged);
            // 
            // chkTipEnable
            // 
            this.chkTipEnable.AutoSize = true;
            this.chkTipEnable.BackColor = System.Drawing.Color.Transparent;
            this.chkTipEnable.Checked = true;
            this.chkTipEnable.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chkTipEnable.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.chkTipEnable.Location = new System.Drawing.Point(24, 136);
            this.chkTipEnable.Name = "chkTipEnable";
            this.chkTipEnable.Size = new System.Drawing.Size(59, 17);
            this.chkTipEnable.TabIndex = 23;
            this.chkTipEnable.Text = "Enable";
            this.chkTipEnable.UseVisualStyleBackColor = false;
            this.chkTipEnable.CheckedChanged += new System.EventHandler(this.chkTipEnable_CheckedChanged);
            // 
            // label7
            // 
            this.label7.AutoSize = true;
            this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label7.Location = new System.Drawing.Point(22, 121);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(47, 12);
            this.label7.TabIndex = 22;
            this.label7.Text = "ToolTips";
            // 
            // label6
            // 
            this.label6.AutoSize = true;
            this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label6.Location = new System.Drawing.Point(21, 29);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(31, 12);
            this.label6.TabIndex = 21;
            this.label6.Text = "Style";
            // 
            // lblOrientW
            // 
            this.lblOrientW.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.lblOrientW.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblOrientW.Location = new System.Drawing.Point(360, 72);
            this.lblOrientW.Name = "lblOrientW";
            this.lblOrientW.Size = new System.Drawing.Size(22, 14);
            this.lblOrientW.TabIndex = 18;
            this.lblOrientW.Text = "90";
            this.lblOrientW.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblOrientW.Click += new System.EventHandler(this.lblOrientW_Click);
            // 
            // lblOrientN
            // 
            this.lblOrientN.BackColor = System.Drawing.Color.CadetBlue;
            this.lblOrientN.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.lblOrientN.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblOrientN.ForeColor = System.Drawing.Color.White;
            this.lblOrientN.Location = new System.Drawing.Point(315, 45);
            this.lblOrientN.Name = "lblOrientN";
            this.lblOrientN.Size = new System.Drawing.Size(22, 14);
            this.lblOrientN.TabIndex = 17;
            this.lblOrientN.Text = "0";
            this.lblOrientN.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblOrientN.Click += new System.EventHandler(this.lblOrientN_Click);
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label3.Location = new System.Drawing.Point(290, 28);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(61, 12);
            this.label3.TabIndex = 15;
            this.label3.Text = "Orientation";
            // 
            // lblOrientE
            // 
            this.lblOrientE.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.lblOrientE.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblOrientE.Location = new System.Drawing.Point(270, 72);
            this.lblOrientE.Name = "lblOrientE";
            this.lblOrientE.Size = new System.Drawing.Size(22, 14);
            this.lblOrientE.TabIndex = 20;
            this.lblOrientE.Text = "270";
            this.lblOrientE.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblOrientE.Click += new System.EventHandler(this.lblOrientE_Click);
            // 
            // lblOrientS
            // 
            this.lblOrientS.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.lblOrientS.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblOrientS.Location = new System.Drawing.Point(315, 100);
            this.lblOrientS.Name = "lblOrientS";
            this.lblOrientS.Size = new System.Drawing.Size(22, 14);
            this.lblOrientS.TabIndex = 19;
            this.lblOrientS.Text = "180";
            this.lblOrientS.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblOrientS.Click += new System.EventHandler(this.lblOrientS_Click);
            // 
            // pictureBox1
            // 
            this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
            this.pictureBox1.Image = global::vtTab.Properties.Resources.pos1;
            this.pictureBox1.Location = new System.Drawing.Point(287, 53);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new System.Drawing.Size(80, 56);
            this.pictureBox1.TabIndex = 16;
            this.pictureBox1.TabStop = false;
            // 
            // frmMain
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.White;
            this.ClientSize = new System.Drawing.Size(447, 500);
            this.Controls.Add(this.tabControl1);
            this.Controls.Add(this.groupBox1);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.Name = "frmMain";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = " vtTab Test";
            this.Load += new System.EventHandler(this.frmMain_Load);
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmMain_FormClosing);
            this.tabControl1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            this.tabPage2.ResumeLayout(false);
            this.tabPage3.ResumeLayout(false);
            this.tabPage4.ResumeLayout(false);
            this.tabPage5.ResumeLayout(false);
            this.tabPage6.ResumeLayout(false);
            this.tabPage7.ResumeLayout(false);
            this.tabPage8.ResumeLayout(false);
            this.tabPage9.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.ImageList imageList1;
        private System.Windows.Forms.Label lblOrientW;
        private System.Windows.Forms.Label lblOrientN;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Label lblOrientE;
        private System.Windows.Forms.Label lblOrientS;
        private System.Windows.Forms.PictureBox pictureBox1;
        private System.Windows.Forms.CheckBox chkTipIcon;
        private System.Windows.Forms.CheckBox chkTipTitle;
        private System.Windows.Forms.CheckBox chkTipEnable;
        private System.Windows.Forms.Label label7;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.TabControl tabControl1;
        private System.Windows.Forms.TabPage tabPage1;
        private System.Windows.Forms.TabPage tabPage2;
        private System.Windows.Forms.TabPage tabPage3;
        private System.Windows.Forms.RadioButton rbStyleCustom;
        private System.Windows.Forms.RadioButton rbStyleVista;
        private System.Windows.Forms.RadioButton rbStyleBitmap;
        private System.Windows.Forms.Label label10;
        private System.Windows.Forms.Label lblTabRemove;
        private System.Windows.Forms.Label lblTabAdd;
        private System.Windows.Forms.CheckBox chkPropImages;
        private System.Windows.Forms.CheckBox chkPropEnabled;
        private System.Windows.Forms.CheckBox chkPropMultiline;
        private System.Windows.Forms.Label label11;
        private System.Windows.Forms.Label lblTabReset;
        private System.Windows.Forms.TabPage tabPage4;
        private System.Windows.Forms.Label label20;
        private System.Windows.Forms.Label label19;
        private System.Windows.Forms.Label label18;
        private System.Windows.Forms.Label label17;
        private System.Windows.Forms.TabPage tabPage5;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.TabPage tabPage6;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TabPage tabPage7;
        private System.Windows.Forms.Label label9;
        private System.Windows.Forms.TabPage tabPage8;
        private System.Windows.Forms.Label label8;
        private System.Windows.Forms.TabPage tabPage9;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.RadioButton rbStyleExplorer;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

John Underhill
Network Administrator vtdev.com
Canada Canada
Network and programming specialist. Started in C, and have learned about 14 languages since then. Cisco programmer, and lately writing a lot of C# and WPF code, (learning Java too). If I can dream it up, I can probably put it to code. My software company, (VTDev), is on the verge of releasing a couple of very cool things.. keep you posted.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.1411023.1 | Last Updated 25 May 2009
Article Copyright 2009 by John Underhill
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid