13-03-15, 06:36 PM
كود :
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
'If TextBox1.Text = "1s" Then
'MsgBox("اجابتك صحيحة", , )
'Else
'MsgBox(" اجابتك خاطئة ", , )
' TextBox1.BackColor = Color.Red
' End If
If TextBox1.Text.Contains("1s") Then
MsgBox("اجابتك صحيحة")
Else
MsgBox("اجابتك خاطئة ")
TextBox1.BackColor = Color.Red
End If
End Subماالحل ؟؟؟؟؟؟؟
