コード例 #1
0
 /// <summary>
 /// Initialize a new instance of the ViewDrawTrackPosition class.
 /// </summary>
 /// <param name="drawTrackBar">Reference to owning track bar.</param>
 public ViewDrawTrackPosition(ViewDrawTrackBar drawTrackBar)
 {
     _drawTrackBar = drawTrackBar;
 }
コード例 #2
0
 /// <summary>
 /// Initialize a new instance of the ViewDrawTrackTrack class.
 /// </summary>
 /// <param name="drawTrackBar">Reference to owning track bar.</param>
 public ViewDrawTrackTrack(ViewDrawTrackBar drawTrackBar)
 {
     _drawTrackBar = drawTrackBar;
 }
コード例 #3
0
 /// <summary>
 /// Initialize a new instance of the ViewDrawTrackTicks class.
 /// </summary>
 /// <param name="drawTrackBar">Reference to owning track bar.</param>
 /// <param name="topRight">Showing ticks to the top/right or bottom/left.</param>
 public ViewDrawTrackTicks(ViewDrawTrackBar drawTrackBar, bool topRight)
 {
     _drawTrackBar = drawTrackBar;
     _topRight     = topRight;
 }