私はVBで新しく、私は宿題をやっています。私がしなければならないことは、マジックボックスです.9個のテキストボックスに9個の数字を入れて、同じ、私はそれを行っていますTextChangedイベント。VBのすべてのテキストボックスを確認する
コードがありますが、不完全です。実際には動作しません。
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
TextBox1.TextChanged,
TextBox2.TextChanged,
TextBox2.TextChanged,
TextBox3.TextChanged,
TextBox4.TextChanged,
TextBox5.TextChanged,
TextBox6.TextChanged,
TextBox7.TextChanged,
TextBox8.TextChanged,
TextBox9.TextChanged
If Not (IsNumeric(TextBox1.Text))
Then
MsgBox("ERROR")
End If
Dim a As Integer
End Sub
ご自身のコードを投稿することはできますか? –
それは私に許されていない多くのです:( – itsmedavid