Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
Cyclops 1.2 - AddTrig.cs

AddTrig.cs

Caricato da:
Scarica il programma completo

  1. using System;
  2. using System.Drawing;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.Windows.Forms;
  6.  
  7. namespace TriggerBoT
  8. {
  9.         /// <summary>
  10.         /// Descrizione di riepilogo per AddTrig.
  11.         /// </summary>
  12.         public class AddTrig : System.Windows.Forms.Form
  13.         {
  14.                 private System.Windows.Forms.Label label1;
  15.                 private System.Windows.Forms.Label label2;
  16.                 private System.Windows.Forms.Button button1;
  17.                 public System.Windows.Forms.TextBox p;
  18.                 public System.Windows.Forms.TextBox s;
  19.                 /// <summary>
  20.                 /// Variabile di progettazione necessaria.
  21.                 /// </summary>
  22.                 private System.ComponentModel.Container components = null;
  23.  
  24.                 public AddTrig()
  25.                 {
  26.                         //
  27.                         // Necessario per il supporto di Progettazione Windows Form
  28.                         //
  29.                         InitializeComponent();
  30.                 }
  31.  
  32.                 /// <summary>
  33.                 /// Pulire le risorse in uso.
  34.                 /// </summary>
  35.                 protected override void Dispose( bool disposing )
  36.                 {
  37.                         if( disposing )
  38.                         {
  39.                                 if(components != null)
  40.                                 {
  41.                                         components.Dispose();
  42.                                 }
  43.                         }
  44.                         base.Dispose( disposing );
  45.                 }
  46.  
  47.                 #region Codice generato da Progettazione Windows Form
  48.                 /// <summary>
  49.                 /// Metodo necessario per il supporto della finestra di progettazione. Non modificare
  50.                 /// il contenuto del metodo con l'editor di codice.
  51.                 /// </summary>
  52.                 private void InitializeComponent()
  53.                 {
  54.                         System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(AddTrig));
  55.                         this.label1 = new System.Windows.Forms.Label();
  56.                         this.p = new System.Windows.Forms.TextBox();
  57.                         this.s = new System.Windows.Forms.TextBox();
  58.                         this.label2 = new System.Windows.Forms.Label();
  59.                         this.button1 = new System.Windows.Forms.Button();
  60.                         this.SuspendLayout();
  61.                         //
  62.                         // label1
  63.                         //
  64.                         this.label1.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
  65.                         this.label1.ForeColor = System.Drawing.Color.Red;
  66.                         this.label1.Location = new System.Drawing.Point(8, 8);
  67.                         this.label1.Name = "label1";
  68.                         this.label1.Size = new System.Drawing.Size(100, 16);
  69.                         this.label1.TabIndex = 0;
  70.                         this.label1.Text = "Parola";
  71.                         //
  72.                         // p
  73.                         //
  74.                         this.p.Location = new System.Drawing.Point(8, 32);
  75.                         this.p.Name = "p";
  76.                         this.p.Size = new System.Drawing.Size(264, 20);
  77.                         this.p.TabIndex = 1;
  78.                         this.p.Text = "";
  79.                         //
  80.                         // s
  81.                         //
  82.                         this.s.Location = new System.Drawing.Point(8, 80);
  83.                         this.s.Name = "s";
  84.                         this.s.Size = new System.Drawing.Size(264, 20);
  85.                         this.s.TabIndex = 3;
  86.                         this.s.Text = "";
  87.                         //
  88.                         // label2
  89.                         //
  90.                         this.label2.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
  91.                         this.label2.ForeColor = System.Drawing.Color.Red;
  92.                         this.label2.Location = new System.Drawing.Point(8, 56);
  93.                         this.label2.Name = "label2";
  94.                         this.label2.Size = new System.Drawing.Size(100, 16);
  95.                         this.label2.TabIndex = 2;
  96.                         this.label2.Text = "Risposta";
  97.                         //
  98.                         // button1
  99.                         //
  100.                         this.button1.Font = new System.Drawing.Font("Comic Sans MS", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
  101.                         this.button1.ForeColor = System.Drawing.Color.Red;
  102.                         this.button1.Location = new System.Drawing.Point(128, 104);
  103.                         this.button1.Name = "button1";
  104.                         this.button1.Size = new System.Drawing.Size(32, 24);
  105.                         this.button1.TabIndex = 4;
  106.                         this.button1.Text = "Ok";
  107.                         this.button1.Click += new System.EventHandler(this.button1_Click);
  108.                         //
  109.                         // AddTrig
  110.                         //
  111.                         this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
  112.                         this.BackColor = System.Drawing.Color.Black;
  113.                         this.ClientSize = new System.Drawing.Size(282, 134);
  114.                         this.Controls.Add(this.button1);
  115.                         this.Controls.Add(this.s);
  116.                         this.Controls.Add(this.p);
  117.                         this.Controls.Add(this.label2);
  118.                         this.Controls.Add(this.label1);
  119.                         this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  120.                         this.MaximizeBox = false;
  121.                         this.Name = "AddTrig";
  122.                         this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  123.                         this.Text = "AGGiuNGi TRiGs";
  124.                         this.ResumeLayout(false);
  125.  
  126.                 }
  127.                 #endregion
  128.  
  129.                 private void button1_Click(object sender, System.EventArgs e)
  130.                 {
  131.                         Close();
  132.                 }
  133.         }
  134. }