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(); 89DesignerUtils.DrawResizeBorder(_graphics, region, backColor); 103Exception? exception = Record.Exception(() => DesignerUtils.DrawGrabHandle(_graphics, _bounds, isPrimary: true)); 111DesignerUtils.DrawGrabHandle(_graphics, _bounds, isPrimary); 121DesignerUtils.DrawLockedHandle(_graphics, _bounds, isPrimary); 130DesignerUtils.DrawLockedHandle(_graphics, _bounds, isPrimary: true); 138DesignerUtils.DrawLockedHandle(_graphics, _bounds, isPrimary: false); 146Exception? exception = Record.Exception(() => DesignerUtils.DrawSelectionBorder(_graphics, _bounds)); 153DesignerUtils.DrawSelectionBorder(_graphics, _bounds); 196DesignerUtils.DrawFrame(_graphics, region, style, backColor); 207DesignerUtils.DrawNoResizeHandle(_graphics, _bounds, isPrimary)); 216DesignerUtils.DrawNoResizeHandle(_graphics, _bounds, isPrimary);