コード例 #1
0
 private void pictureBox1_Click_1(object sender, EventArgs e)
 {
     if (decimal.Parse(total.Text) == 0)
     {
         Error.Aviso("El importe a cobrar no puede ser cero!");
     }
     else
     {
         API.Comandodb("UPDATE Tickets SET Subtotal = '" + total.Text + "' WHERE id = " + id.Text);
         this.Hide();
         Pago.Abrir(total.Text, id.Text, empleado.Text);
     }
 }