namespace WinFormsApp { partial class Form1 { /// /// 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() { textBox1 = new TextBox(); button1 = new Button(); SuspendLayout(); // // textBox1 // textBox1.Location = new Point(240, 75); textBox1.Name = "textBox1"; textBox1.Size = new Size(100, 23); textBox1.TabIndex = 0; // // button1 // button1.Location = new Point(150, 78); button1.Name = "button1"; button1.Size = new Size(75, 23); button1.TabIndex = 1; button1.Text = "button1"; button1.UseVisualStyleBackColor = true; button1.Click += button1_Click; // // Form1 // AutoScaleDimensions = new SizeF(7F, 17F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(800, 450); Controls.Add(button1); Controls.Add(textBox1); Name = "Form1"; Text = "Form1"; ResumeLayout(false); PerformLayout(); } #endregion private TextBox textBox1; private Button button1; } }