namespace LayoutSample { partial class AutoSizingForm { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if( disposing && (components != null) ) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.anchoredTextBox = new System.Windows.Forms.TextBox(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(59, 13); this.label1.TabIndex = 0; this.label1.Text = "Description:"; // // anchoredTextBox // this.anchoredTextBox.Location = new System.Drawing.Point(77, 13); this.anchoredTextBox.Name = "anchoredTextBox"; this.anchoredTextBox.Size = new System.Drawing.Size(188, 20); this.anchoredTextBox.TabIndex = 1; // // AutoSizingForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSize = true; this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.ClientSize = new System.Drawing.Size(278, 46); this.Controls.Add(this.anchoredTextBox); this.Controls.Add(this.label1); this.Name = "AutoSizingForm"; this.Padding = new System.Windows.Forms.Padding(10); this.Text = "Resizing Controls"; this.Load += new System.EventHandler(this.AutoSizingForm_Load); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Label label1; private System.Windows.Forms.TextBox anchoredTextBox; } }