Ya lo tengo muchas gracias
hay va el codigo por si alguien mas lo necesita
Código vb.net:
Ver originalPrivate Sub txCantidad_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles txCantidad.TextChanged
If txCantidad.Text = "" Or txPrecio.Text = "" Then
Exit Sub
End If
Dim total As Integer = CInt(txCantidad.Text) * CInt(txPrecio.Text)
txTotal.Text = total
End Sub
Private Sub txPrecio_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles txPrecio.TextChanged
If txCantidad.Text = "" Or txPrecio.Text = "" Then
Exit Sub
End If
Dim total As Integer = CInt(txCantidad.Text) * CInt(txPrecio.Text)
txTotal.Text = total
End Sub