Esempio n. 1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     this.Controls.Add(dtrigger);
     dtrigger.Location = button1.Location;
     dtrigger.Text     = "Solve";
     dtrigger.Click   += new EventHandler(dtrigger_Click);
     dtrigger.Hide();
     set.Hide();
     reset.Hide();
     or1.Hide();
     or2.Hide();
     q1.Hide();
     q2.Hide();
     Qb1.Hide();
     Qb2.Hide();
     resetb.Hide();
     setb.Hide();
     button1.Hide();
     this.Controls.Add(and);
     and.Location = button1.Location;
     and.Text     = "Solve";
     and.Click   += new EventHandler(and_Click);
     and.Hide();
     reb = resetb.Location;
     seb = setb.Location;
     qb1 = Qb1.Location;
     qb2 = Qb2.Location;
 }
Esempio n. 2
0
 private void hides()
 {
     set.Hide();
     reset.Hide();
     or1.Hide();
     or2.Hide();
     q1.Hide();
     q2.Hide();
     Qb1.Hide();
     Qb2.Hide();
     resetb.Hide();
     setb.Hide();
 }