Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            DataBaseProcedure procedure = new DataBaseProcedure();

            procedure.spProfile_New_User(textBox1.Text, textBox2.Text, 15, ofd.FileName);
            procedure.spKlient_Insert(textBox1.Text, textBox4.Text, textBox5.Text, textBox6.Text, dateTimePicker1.Text);
            Autoriz autoriz = new Autoriz();

            autoriz.Show();
            Hide();
        }
Beispiel #2
0
 private void button18_Click(object sender, EventArgs e)
 {
     procedure.spProfile_New_User(textBox24.Text, textBox23.Text, (int)comboBox2.SelectedValue, ofd.FileName);
     procedure.spKlient_Insert(textBox24.Text, textBox16.Text, textBox15.Text, textBox14.Text, dateTimePicker3.Text);
 }