05-01-21, 08:22 PM
كود :
Private Sub TextBox2_TextChanged(sender As Object, e As EventArgs) Handles TextBox2.TextChanged
If Val(TextBox1.Text) = Val(TextBox2.Text) Then
TextBox2.BackColor = Color.White
Else
TextBox2.BackColor = Color.Yellow
End If
End Sub