14 references to ScreenGraphicsScope
System.Windows.Forms (14)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
668
using
var
screen = GdiCache.GetScreenDCGraphics();
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (6)
1472
using
var
screen = GdiCache.GetScreenDCGraphics();
1533
using
var
screen = GdiCache.GetScreenDCGraphics();
2289
using
var
screen = GdiCache.GetScreenDCGraphics();
2301
using
var
screen = GdiCache.GetScreenDCGraphics();
2344
using
var
screen = GdiCache.GetScreenDCGraphics();
2754
using
var
screen = GdiCache.GetScreenDCGraphics();
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
541
using (
var
screen = GdiCache.GetScreenDCGraphics())
1775
using (
var
screen = GdiCache.GetScreenDCGraphics())
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
226
using
var
screen = GdiCache.GetScreenDCGraphics();
System\Windows\Forms\Controls\Labels\Label.cs (1)
1080
using
var
screen = GdiCache.GetScreenDCGraphics();
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (1)
343
using
var
screen = GdiCache.GetScreenDCGraphics();
System\Windows\Forms\Rendering\GdiCache.cs (1)
49
public static
ScreenGraphicsScope
GetScreenDCGraphics()
System\Windows\Forms\Rendering\GdiCache.ScreenGraphicsScope.cs (1)
29
public static implicit operator Graphics(in
ScreenGraphicsScope
scope) => scope.Graphics;