Exemplo n.º 1
0
        private void bt_Cancel_Click(object sender, RoutedEventArgs e)
        {
            Sotrudnik ps2 = new Sotrudnik();

            ps2.Show();
            Hide();
        }
Exemplo n.º 2
0
        private void bt_Insert_Sotrudnik_Click(object sender, RoutedEventArgs e)
        {
            //string value = tb_Number_Pasporta.Text.ToString();
            //tb_Number_Pasporta.Text = Class1.Code_Message(value);



            procedures.Sotrudnik_Insert(tb_Familiya_Sotrudnik.Text.ToString(), tb_Name_Sotrudnik.Text.ToString(), tb_Otchestvo_Sotrudnik.Text.ToString(), dp_Date_Rojdeniya.Text.ToString(), tb_Seriya_Pasporta.Text.ToString(), tb_Number_Pasporta.Text.ToString(), tb_LoginS.Text.ToString(), tb_PasswordS.Text.ToString(), Convert.ToInt32(cb_Name_Doljnost.SelectedValue.ToString()), Convert.ToInt32(cb_Name_Normativnie_Documenti.SelectedValue.ToString()));
            dgFill(QR);
            Sotrudnik ps2 = new Sotrudnik();

            ps2.Show();
            Hide();
        }