Esempio n. 1
0
 public Form2(Choose chose)
 {
     _test = chose;
     InitializeComponent();
     groupBox3.Enabled = false;
     label11.Enabled   = false;
     label11.Enabled   = false;
     label11.Enabled   = false;
     label11.Enabled   = false;
     label11.Enabled   = false;
     textBox1.Enabled  = false;
     groupBox4.Enabled = false;
     groupBox5.Enabled = false;
     button2.Enabled   = false;
     button3.Enabled   = false;
     groupBox6.Enabled = false;
     groupBox7.Enabled = false;
     label11.Visible   = true;
     textBox1.Visible  = true;
     groupBox3.Visible = true;
     groupBox4.Visible = true;
     groupBox5.Visible = true;
     groupBox6.Visible = false;
     groupBox7.Visible = false;
     button4.Enabled   = false;
     button4.Visible   = false;
 }
Esempio n. 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            Form choose = new Choose(this);

            this.Visible = false;
            choose.ShowDialog();
            //  test.Visible=true;
        }
Esempio n. 3
0
 public Praktika(Choose test)
 {
     InitializeComponent();
     _test = test;
 }