1 write to _graphics
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\DesignerUtilsTests.cs (1)
26
_graphics
= Graphics.FromImage(_bitmap);
12 references to _graphics
System.Windows.Forms.Design.Tests (12)
System\Windows\Forms\Design\DesignerUtilsTests.cs (12)
33
_graphics
.Dispose();
89
DesignerUtils.DrawResizeBorder(
_graphics
, region, backColor);
103
Exception? exception = Record.Exception(() => DesignerUtils.DrawGrabHandle(
_graphics
, _bounds, isPrimary: true));
111
DesignerUtils.DrawGrabHandle(
_graphics
, _bounds, isPrimary);
121
DesignerUtils.DrawLockedHandle(
_graphics
, _bounds, isPrimary);
130
DesignerUtils.DrawLockedHandle(
_graphics
, _bounds, isPrimary: true);
138
DesignerUtils.DrawLockedHandle(
_graphics
, _bounds, isPrimary: false);
146
Exception? exception = Record.Exception(() => DesignerUtils.DrawSelectionBorder(
_graphics
, _bounds));
153
DesignerUtils.DrawSelectionBorder(
_graphics
, _bounds);
196
DesignerUtils.DrawFrame(
_graphics
, region, style, backColor);
207
DesignerUtils.DrawNoResizeHandle(
_graphics
, _bounds, isPrimary));
216
DesignerUtils.DrawNoResizeHandle(
_graphics
, _bounds, isPrimary);