textbox 숫자만 입력

VNote 2018.03.28 17:32:49 *: Private Sub TextBox_PictureBox1_KeyPress(sender As System.Object, e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox_PictureBox1.KeyPress

If Not Char.IsDigit(e.KeyChar) And Not Char.IsControl(e.KeyChar) Then



e.Handled = True



End If

End Sub

    Private Sub TextBox_PictureBox1_KeyPress(sender As System.Object, e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox_PictureBox1.KeyPress

        If Not Char.IsDigit(e.KeyChar) And Not Char.IsControl(e.KeyChar) Then

 

            e.Handled = True

 

        End If

    End Sub