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

            ps2.Show();
            Hide();
        }
Exemplo n.º 2
0
        private void bt_Insert_Tovar_Click(object sender, RoutedEventArgs e)
        {
            procedures.Tovar_Insert(tb_Name_Tovar.Text.ToString(), Convert.ToInt32(tb_Kolichestvo_Tovar.Text.ToString()), Convert.ToDecimal(tb_Cena.Text.ToString()), dp_Data_Proisvodstva.Text.ToString(), Convert.ToInt32(cb_Name_Sirie.SelectedValue.ToString()), Convert.ToInt32(cb_Sotrudnik_Info.SelectedValue.ToString()), Convert.ToInt32(cb_Type_Tovar.SelectedValue.ToString()));
            dgFill(QR);



            Tovar ps2 = new Tovar();

            ps2.Show();
            Hide();
        }