19 references to TrackBarThumbState
System.Windows.Forms (10)
System\Windows\Forms\Controls\TrackBar\TrackBarRenderer.cs (10)
48
public static void DrawHorizontalThumb(Graphics g, Rectangle bounds,
TrackBarThumbState
state)
58
public static void DrawVerticalThumb(Graphics g, Rectangle bounds,
TrackBarThumbState
state)
68
public static void DrawLeftPointingThumb(Graphics g, Rectangle bounds,
TrackBarThumbState
state)
78
public static void DrawRightPointingThumb(Graphics g, Rectangle bounds,
TrackBarThumbState
state)
88
public static void DrawTopPointingThumb(Graphics g, Rectangle bounds,
TrackBarThumbState
state)
98
public static void DrawBottomPointingThumb(Graphics g, Rectangle bounds,
TrackBarThumbState
state)
168
public static Size GetLeftPointingThumbSize(Graphics g,
TrackBarThumbState
state)
178
public static Size GetRightPointingThumbSize(Graphics g,
TrackBarThumbState
state)
188
public static Size GetTopPointingThumbSize(Graphics g,
TrackBarThumbState
state)
198
public static Size GetBottomPointingThumbSize(Graphics g,
TrackBarThumbState
state)
System.Windows.Forms.Tests (9)
System\Windows\Forms\TrackBarRendererTests.cs (9)
75
void TestDrawThumb(Action<Graphics, Rectangle,
TrackBarThumbState
> drawThumb, Rectangle bounds,
TrackBarThumbState
state)
82
TrackBarThumbState
state =
TrackBarThumbState
.Normal;
91
void TestGetThumbSize(Func<Graphics,
TrackBarThumbState
, Size> getThumbSize)
93
Size size = getThumbSize(_graphics,
TrackBarThumbState
.Normal);
155
var drawThumbActions = new Action<Graphics, Rectangle,
TrackBarThumbState
>[]
163
foreach (Action<Graphics, Rectangle,
TrackBarThumbState
> drawThumb in drawThumbActions)
165
Action a = () => drawThumb(_graphics, bounds,
TrackBarThumbState
.Normal);