1 write to _graphics
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\DesignerUtilsTests.cs (1)
23
_graphics
= Graphics.FromImage(_bitmap);
12 references to _graphics
System.Windows.Forms.Design.Tests (12)
System\Windows\Forms\Design\DesignerUtilsTests.cs (12)
30
_graphics
.Dispose();
86
DesignerUtils.DrawResizeBorder(
_graphics
, region, backColor);
100
Exception exception = Record.Exception(() => DesignerUtils.DrawGrabHandle(
_graphics
, _bounds, isPrimary: true));
108
DesignerUtils.DrawGrabHandle(
_graphics
, _bounds, isPrimary);
118
DesignerUtils.DrawLockedHandle(
_graphics
, _bounds, isPrimary);
127
DesignerUtils.DrawLockedHandle(
_graphics
, _bounds, isPrimary: true);
135
DesignerUtils.DrawLockedHandle(
_graphics
, _bounds, isPrimary: false);
143
Exception exception = Record.Exception(() => DesignerUtils.DrawSelectionBorder(
_graphics
, _bounds));
150
DesignerUtils.DrawSelectionBorder(
_graphics
, _bounds);
193
DesignerUtils.DrawFrame(
_graphics
, region, style, backColor);
204
DesignerUtils.DrawNoResizeHandle(
_graphics
, _bounds, isPrimary));
213
DesignerUtils.DrawNoResizeHandle(
_graphics
, _bounds, isPrimary);