Exemplo n.º 1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (comboBox1.Text != "" && textBox1.Text != "" && textBox2.Text != "" && comboBox2.Text != "")
     {
         _CCC = new podklclss();
         _CCC.Register_set(comboBox1.Text, textBox1.Text, textBox2.Text, comboBox2.Text);
         avtoriz avtoriz = new avtoriz();
         this.Hide();
         avtoriz.Show();
     }
     else
     {
         MessageBox.Show("Заполните все данные");
     }
 }