Пример #1
0
 /// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.tabControl1 = new FlatTabControl.FlatTabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.tabPage3 = new System.Windows.Forms.TabPage();
     this.tabPage4 = new System.Windows.Forms.TabPage();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.button2 = new System.Windows.Forms.Button();
     this.button3 = new System.Windows.Forms.Button();
     this.tabControl1.SuspendLayout();
     this.SuspendLayout();
     //
     // 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.ImageList = this.imageList1;
     this.tabControl1.Location = new System.Drawing.Point(8, 16);
     this.tabControl1.myBackColor = System.Drawing.SystemColors.Control;
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 2;
     this.tabControl1.Size = new System.Drawing.Size(328, 240);
     this.tabControl1.TabIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(224)), ((System.Byte)(192)));
     this.tabPage1.ImageIndex = 0;
     this.tabPage1.Location = new System.Drawing.Point(4, 25);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Size = new System.Drawing.Size(320, 211);
     this.tabPage1.TabIndex = 1;
     this.tabPage1.Text = "tabPage1";
     //
     // tabPage2
     //
     this.tabPage2.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.tabPage2.ImageIndex = 1;
     this.tabPage2.Location = new System.Drawing.Point(4, 25);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Size = new System.Drawing.Size(320, 211);
     this.tabPage2.TabIndex = 0;
     this.tabPage2.Text = "tabPage2";
     //
     // tabPage3
     //
     this.tabPage3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
     this.tabPage3.ImageIndex = 2;
     this.tabPage3.Location = new System.Drawing.Point(4, 25);
     this.tabPage3.Name = "tabPage3";
     this.tabPage3.Size = new System.Drawing.Size(320, 211);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text = "tabPage3";
     //
     // tabPage4
     //
     this.tabPage4.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(255)));
     this.tabPage4.ImageIndex = 0;
     this.tabPage4.Location = new System.Drawing.Point(4, 25);
     this.tabPage4.Name = "tabPage4";
     this.tabPage4.Size = new System.Drawing.Size(320, 211);
     this.tabPage4.TabIndex = 3;
     this.tabPage4.Text = "tabPage4";
     //
     // imageList1
     //
     this.imageList1.ImageSize = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(352, 160);
     this.button2.Name = "button2";
     this.button2.TabIndex = 2;
     this.button2.Text = "Add";
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(352, 208);
     this.button3.Name = "button3";
     this.button3.TabIndex = 3;
     this.button3.Text = "Remove";
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor = System.Drawing.SystemColors.Control;
     this.ClientSize = new System.Drawing.Size(448, 269);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.tabControl1);
     this.Name = "Form1";
     this.Text = "FlatTabControl test";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.tabControl1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.flatTabControl1 = new FlatTabControl.FlatTabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.flatTabControl1.SuspendLayout();
     this.SuspendLayout();
     //
     // flatTabControl1
     //
     this.flatTabControl1.Alignment = System.Windows.Forms.TabAlignment.Left;
     this.flatTabControl1.Controls.Add(this.tabPage1);
     this.flatTabControl1.Controls.Add(this.tabPage2);
     this.flatTabControl1.Location = new System.Drawing.Point(136, 77);
     this.flatTabControl1.Multiline = true;
     this.flatTabControl1.myBackColor = System.Drawing.SystemColors.Control;
     this.flatTabControl1.Name = "flatTabControl1";
     this.flatTabControl1.SelectedIndex = 0;
     this.flatTabControl1.Size = new System.Drawing.Size(521, 356);
     this.flatTabControl1.TabIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.Location = new System.Drawing.Point(26, 4);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(491, 348);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "tabPage1";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // tabPage2
     //
     this.tabPage2.Location = new System.Drawing.Point(26, 4);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(491, 348);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "tabPage2";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(83)))), ((int)(((byte)(104)))));
     this.ClientSize = new System.Drawing.Size(780, 526);
     this.Controls.Add(this.flatTabControl1);
     this.Name = "Form1";
     this.Text = "FlatTabControl test";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.flatTabControl1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #3
0
 /// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.tabControl1 = new FlatTabControl.FlatTabControl();
     this.tabPage1    = new System.Windows.Forms.TabPage();
     this.tabPage2    = new System.Windows.Forms.TabPage();
     this.tabPage3    = new System.Windows.Forms.TabPage();
     this.tabPage4    = new System.Windows.Forms.TabPage();
     this.imageList1  = new System.Windows.Forms.ImageList(this.components);
     this.button2     = new System.Windows.Forms.Button();
     this.button3     = new System.Windows.Forms.Button();
     this.tabControl1.SuspendLayout();
     this.SuspendLayout();
     //
     // 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.ImageList     = this.imageList1;
     this.tabControl1.Location      = new System.Drawing.Point(8, 16);
     this.tabControl1.myBackColor   = System.Drawing.SystemColors.Control;
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 2;
     this.tabControl1.Size          = new System.Drawing.Size(328, 240);
     this.tabControl1.TabIndex      = 0;
     //
     // tabPage1
     //
     this.tabPage1.BackColor  = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(224)), ((System.Byte)(192)));
     this.tabPage1.ImageIndex = 0;
     this.tabPage1.Location   = new System.Drawing.Point(4, 25);
     this.tabPage1.Name       = "tabPage1";
     this.tabPage1.Size       = new System.Drawing.Size(320, 211);
     this.tabPage1.TabIndex   = 1;
     this.tabPage1.Text       = "tabPage1";
     //
     // tabPage2
     //
     this.tabPage2.BackColor  = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(255)), ((System.Byte)(192)));
     this.tabPage2.ImageIndex = 1;
     this.tabPage2.Location   = new System.Drawing.Point(4, 25);
     this.tabPage2.Name       = "tabPage2";
     this.tabPage2.Size       = new System.Drawing.Size(320, 211);
     this.tabPage2.TabIndex   = 0;
     this.tabPage2.Text       = "tabPage2";
     //
     // tabPage3
     //
     this.tabPage3.BackColor  = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(255)));
     this.tabPage3.ImageIndex = 2;
     this.tabPage3.Location   = new System.Drawing.Point(4, 25);
     this.tabPage3.Name       = "tabPage3";
     this.tabPage3.Size       = new System.Drawing.Size(320, 211);
     this.tabPage3.TabIndex   = 2;
     this.tabPage3.Text       = "tabPage3";
     //
     // tabPage4
     //
     this.tabPage4.BackColor  = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(255)));
     this.tabPage4.ImageIndex = 0;
     this.tabPage4.Location   = new System.Drawing.Point(4, 25);
     this.tabPage4.Name       = "tabPage4";
     this.tabPage4.Size       = new System.Drawing.Size(320, 211);
     this.tabPage4.TabIndex   = 3;
     this.tabPage4.Text       = "tabPage4";
     //
     // imageList1
     //
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(352, 160);
     this.button2.Name     = "button2";
     this.button2.TabIndex = 2;
     this.button2.Text     = "Add";
     this.button2.Click   += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(352, 208);
     this.button3.Name     = "button3";
     this.button3.TabIndex = 3;
     this.button3.Text     = "Remove";
     this.button3.Click   += new System.EventHandler(this.button3_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.SystemColors.Control;
     this.ClientSize        = new System.Drawing.Size(448, 269);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.tabControl1);
     this.Name  = "Form1";
     this.Text  = "FlatTabControl test";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.tabControl1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #4
0
 /// <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(Form1));
     this.tabControl1 = new FlatTabControl.FlatTabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.tabPage3 = new System.Windows.Forms.TabPage();
     this.tabPage4 = new System.Windows.Forms.TabPage();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.button2 = new System.Windows.Forms.Button();
     this.button3 = new System.Windows.Forms.Button();
     this.tabControl1.SuspendLayout();
     this.SuspendLayout();
     //
     // 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.Font = new System.Drawing.Font("΢���ź�", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.tabControl1.ImageList = this.imageList1;
     this.tabControl1.Location = new System.Drawing.Point(10, 17);
     this.tabControl1.myBackColor = System.Drawing.Color.Transparent;
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 2;
     this.tabControl1.Size = new System.Drawing.Size(393, 259);
     this.tabControl1.TabIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.BackColor = System.Drawing.Color.Gray;
     this.tabPage1.ForeColor = System.Drawing.Color.DarkBlue;
     this.tabPage1.ImageIndex = 0;
     this.tabPage1.Location = new System.Drawing.Point(4, 26);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Size = new System.Drawing.Size(385, 229);
     this.tabPage1.TabIndex = 1;
     this.tabPage1.Text = "tabPage1";
     //
     // tabPage2
     //
     this.tabPage2.BackColor = System.Drawing.Color.White;
     this.tabPage2.ImageIndex = 1;
     this.tabPage2.Location = new System.Drawing.Point(4, 26);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Size = new System.Drawing.Size(385, 229);
     this.tabPage2.TabIndex = 0;
     this.tabPage2.Text = "tabPage2";
     //
     // tabPage3
     //
     this.tabPage3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.tabPage3.ImageIndex = 2;
     this.tabPage3.Location = new System.Drawing.Point(4, 26);
     this.tabPage3.Name = "tabPage3";
     this.tabPage3.Size = new System.Drawing.Size(385, 229);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text = "tabPage3";
     //
     // tabPage4
     //
     this.tabPage4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.tabPage4.ImageIndex = 0;
     this.tabPage4.Location = new System.Drawing.Point(4, 26);
     this.tabPage4.Name = "tabPage4";
     this.tabPage4.Size = new System.Drawing.Size(385, 229);
     this.tabPage4.TabIndex = 3;
     this.tabPage4.Text = "tabPage4";
     //
     // imageList1
     //
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(422, 172);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(90, 25);
     this.button2.TabIndex = 2;
     this.button2.Text = "Add";
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(422, 224);
     this.button3.Name = "button3";
     this.button3.Size = new System.Drawing.Size(90, 25);
     this.button3.TabIndex = 3;
     this.button3.Text = "Remove";
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.BackColor = System.Drawing.SystemColors.Control;
     this.ClientSize = new System.Drawing.Size(573, 360);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.tabControl1);
     this.Name = "Form1";
     this.Text = "FlatTabControl test";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.tabControl1.ResumeLayout(false);
     this.ResumeLayout(false);
 }