📄 frmbrokenchild.designer.cs
字号:
namespace CodeForChapter2
{
partial class frmBrokenChild
{
/// <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.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.label2 = new System.Windows.Forms.Label();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.label4 = new System.Windows.Forms.Label();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.label3 = new System.Windows.Forms.Label();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.tabPage2.SuspendLayout();
this.tabPage3.SuspendLayout();
this.SuspendLayout();
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage3);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.tabControl1.Location = new System.Drawing.Point(0, 265);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(237, 163);
this.tabControl1.TabIndex = 2;
this.tabControl1.SelectedIndexChanged += new System.EventHandler(this.tabControl1_SelectedIndexChanged);
//
// tabPage1
//
this.tabPage1.Controls.Add(this.label2);
this.tabPage1.Location = new System.Drawing.Point(0, 0);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Size = new System.Drawing.Size(237, 140);
this.tabPage1.Text = "tabPage1";
//
// label2
//
this.label2.Location = new System.Drawing.Point(14, 25);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(171, 54);
this.label2.Text = "Tab One. Go to Tab 3";
//
// tabPage2
//
this.tabPage2.Controls.Add(this.label4);
this.tabPage2.Location = new System.Drawing.Point(0, 0);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Size = new System.Drawing.Size(229, 137);
this.tabPage2.Text = "tabPage2";
//
// label4
//
this.label4.Location = new System.Drawing.Point(23, 18);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(171, 54);
this.label4.Text = "Check the box to prevent a tab change.";
//
// tabPage3
//
this.tabPage3.Controls.Add(this.label3);
this.tabPage3.Location = new System.Drawing.Point(0, 0);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(229, 137);
this.tabPage3.Text = "tabPage3";
//
// label3
//
this.label3.Location = new System.Drawing.Point(26, 23);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(171, 54);
this.label3.Text = "Tab Three. Go to Tab 2";
//
// checkBox1
//
this.checkBox1.Location = new System.Drawing.Point(3, 79);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(234, 20);
this.checkBox1.TabIndex = 2;
this.checkBox1.Text = "Prevent tab change";
//
// frmBrokenChild
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.ClientSize = new System.Drawing.Size(240, 268);
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.tabControl1);
this.Name = "frmBrokenChild";
this.Text = "We can still add controls though";
this.Controls.SetChildIndex(this.tabControl1, 0);
this.Controls.SetChildIndex(this.checkBox1, 0);
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage2.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
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.Label label2;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.CheckBox checkBox1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -