private void toolStripSplitButton1_ButtonClick(object sender, EventArgs e) { avtoriz examp = new avtoriz(); examp.Show(); this.Close(); }
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("Заполните все данные"); } }