I am trying to develop application that would let me mark A-B points on the timeline. How do I draw lines on the trackbar to mark a specific point/value?
Also, how do I hide the ticks in the trackbar control when TickStyle
is set to Both
?
I think these links help you to customize your trackbar control. Second link gives you a lot of examples for customize trackbar.
If you are ready to pay for that DevExpress provides a Trackar which is named RangeTrackBar with 2 TrackBar Buttons and very Customizable using Visual Studio Designer .
来源:https://stackoverflow.com/questions/7255038/customizing-the-trackbar-control-in-net