Exemple #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.button2   = new System.Windows.Forms.Button();
     this.semaforo1 = new SemaforoLib.Semaforo();
     this.button1   = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(16, 232);
     this.button2.Name     = "button2";
     this.button2.TabIndex = 0;
     this.button2.Text     = "Mensaje";
     this.button2.Click   += new System.EventHandler(this.button2_Click);
     //
     // semaforo1
     //
     this.semaforo1.Estado   = SemaforoLib.Semaforo.SemaforoState.Paused;
     this.semaforo1.Location = new System.Drawing.Point(184, 32);
     this.semaforo1.Name     = "semaforo1";
     this.semaforo1.Size     = new System.Drawing.Size(104, 192);
     this.semaforo1.TabIndex = 1;
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(16, 200);
     this.button1.Name     = "button1";
     this.button1.TabIndex = 2;
     this.button1.Text     = "button1";
     this.button1.Click   += new System.EventHandler(this.button1_Click_1);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 266);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.semaforo1);
     this.Controls.Add(this.button2);
     this.Name  = "Form1";
     this.Text  = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }
Exemple #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.button1   = new System.Windows.Forms.Button();
     this.button2   = new System.Windows.Forms.Button();
     this.button3   = new System.Windows.Forms.Button();
     this.semaforo1 = new SemaforoLib.Semaforo();
     this.button4   = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(200, 24);
     this.button1.Name     = "button1";
     this.button1.TabIndex = 0;
     this.button1.Text     = "button1";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(24, 24);
     this.button2.Name     = "button2";
     this.button2.TabIndex = 0;
     this.button2.Text     = "button2";
     this.button2.Click   += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(112, 112);
     this.button3.Name     = "button3";
     this.button3.TabIndex = 1;
     this.button3.Text     = "button3";
     this.button3.Click   += new System.EventHandler(this.button3_Click);
     //
     // semaforo1
     //
     this.semaforo1.Estado   = SemaforoLib.SemaforoEstado.Stopped;
     this.semaforo1.Location = new System.Drawing.Point(552, 16);
     this.semaforo1.Name     = "semaforo1";
     this.semaforo1.Size     = new System.Drawing.Size(24, 88);
     this.semaforo1.TabIndex = 2;
     //
     // button4
     //
     this.button4.Location = new System.Drawing.Point(176, 232);
     this.button4.Name     = "button4";
     this.button4.TabIndex = 3;
     this.button4.Text     = "button4";
     this.button4.Click   += new System.EventHandler(this.button4_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(592, 534);
     this.Controls.Add(this.button4);
     this.Controls.Add(this.semaforo1);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.button2);
     this.Name    = "Form1";
     this.Text    = "Form1";
     this.Resize += new System.EventHandler(this.Form1_Resize);
     this.Load   += new System.EventHandler(this.Form1_Load);
     this.Paint  += new System.Windows.Forms.PaintEventHandler(this.Form1_Paint);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.button2 = new System.Windows.Forms.Button();
     this.semaforo1 = new SemaforoLib.Semaforo();
     this.button1 = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(16, 232);
     this.button2.Name = "button2";
     this.button2.TabIndex = 0;
     this.button2.Text = "Mensaje";
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // semaforo1
     //
     this.semaforo1.Estado = SemaforoLib.Semaforo.SemaforoState.Paused;
     this.semaforo1.Location = new System.Drawing.Point(184, 32);
     this.semaforo1.Name = "semaforo1";
     this.semaforo1.Size = new System.Drawing.Size(104, 192);
     this.semaforo1.TabIndex = 1;
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(16, 200);
     this.button1.Name = "button1";
     this.button1.TabIndex = 2;
     this.button1.Text = "button1";
     this.button1.Click += new System.EventHandler(this.button1_Click_1);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(292, 266);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.semaforo1);
     this.Controls.Add(this.button2);
     this.Name = "Form1";
     this.Text = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.button1 = new System.Windows.Forms.Button();
     this.button2 = new System.Windows.Forms.Button();
     this.button3 = new System.Windows.Forms.Button();
     this.semaforo1 = new SemaforoLib.Semaforo();
     this.button4 = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(200, 24);
     this.button1.Name = "button1";
     this.button1.TabIndex = 0;
     this.button1.Text = "button1";
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(24, 24);
     this.button2.Name = "button2";
     this.button2.TabIndex = 0;
     this.button2.Text = "button2";
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(112, 112);
     this.button3.Name = "button3";
     this.button3.TabIndex = 1;
     this.button3.Text = "button3";
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // semaforo1
     //
     this.semaforo1.Estado = SemaforoLib.SemaforoEstado.Stopped;
     this.semaforo1.Location = new System.Drawing.Point(552, 16);
     this.semaforo1.Name = "semaforo1";
     this.semaforo1.Size = new System.Drawing.Size(24, 88);
     this.semaforo1.TabIndex = 2;
     //
     // button4
     //
     this.button4.Location = new System.Drawing.Point(176, 232);
     this.button4.Name = "button4";
     this.button4.TabIndex = 3;
     this.button4.Text = "button4";
     this.button4.Click += new System.EventHandler(this.button4_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(592, 534);
     this.Controls.Add(this.button4);
     this.Controls.Add(this.semaforo1);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.button2);
     this.Name = "Form1";
     this.Text = "Form1";
     this.Resize += new System.EventHandler(this.Form1_Resize);
     this.Load += new System.EventHandler(this.Form1_Load);
     this.Paint += new System.Windows.Forms.PaintEventHandler(this.Form1_Paint);
     this.ResumeLayout(false);
 }