FOR BEGINNER PROGRAMMER & COMPUTER SCIENCE STUDENTS
Search This Blog
Numeric up down in VB.NET.(it shows only even numbers from 1 to 50)
PROPERTIES:
NumericUpDown1
Text
0
CODEING:
Public Class Form1
Private Sub NumericUpDown1_ValueChanged(sender As Object, e As EventArgs) Handles NumericUpDown1.ValueChanged NumericUpDown1.Maximum = 50 NumericUpDown1.Minimum = 0 NumericUpDown1.Increment = 2
End Sub
End Class
Comments
Post a Comment