Topic: TrackBar and NumbericUpDown Controls
Example-1: TrackBar
It has maximum and minimum values to be represented.
We write the following code:
Now this program will show you a number which will you select from track bar.
Different tries are shown below:
You can change also its orientation from horizontal to vertical as below:
Now the orientation of track bar will become as below:
Example-2: NumbericUpDown
It is similar to track down control.
Переглядів: 217 |