1 write to _graphics
System.Windows.Forms.Tests (1)
System\Windows\Forms\TrackBarRendererTests.cs (1)
19_graphics = Graphics.FromImage(_bitmap);
9 references to _graphics
System.Windows.Forms.Tests (9)
System\Windows\Forms\TrackBarRendererTests.cs (9)
24_graphics.Dispose(); 40Action a = () => drawTrack(_graphics, bounds); 55Action a = () => drawTrack(_graphics, bounds); 77Action a = () => drawThumb(_graphics, bounds, state); 93Size size = getThumbSize(_graphics, TrackBarThumbState.Normal); 108Action a = () => drawTicks(_graphics, bounds, tickCount, edgeStyle); 128Action a = () => drawTicks(_graphics, bounds, count, EdgeStyle.Raised); 134Action a = () => drawTicks(_graphics, invalidBound, 5, EdgeStyle.Raised); 165Action a = () => drawThumb(_graphics, bounds, TrackBarThumbState.Normal);