namespace Traffic_Light { 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() { btn_switch = new Button(); SuspendLayout(); // // btn_switch // btn_switch.Location = new Point(347, 225); btn_switch.Name = "btn_switch"; btn_switch.Size = new Size(112, 34); btn_switch.TabIndex = 0; btn_switch.Text = "Switch"; btn_switch.UseVisualStyleBackColor = true; btn_switch.Click += btn_switch_Click; // // Form1 // AutoScaleDimensions = new SizeF(10F, 25F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(800, 450); Controls.Add(btn_switch); Name = "Form1"; Text = "Form1"; ResumeLayout(false); } #endregion private Button btn_switch; } }