12 references to GetScreenDCGraphics
System.Windows.Forms (12)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
668using var screen = GdiCache.GetScreenDCGraphics();
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (6)
1472using var screen = GdiCache.GetScreenDCGraphics(); 1533using var screen = GdiCache.GetScreenDCGraphics(); 2289using var screen = GdiCache.GetScreenDCGraphics(); 2301using var screen = GdiCache.GetScreenDCGraphics(); 2344using var screen = GdiCache.GetScreenDCGraphics(); 2754using var screen = GdiCache.GetScreenDCGraphics();
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
541using (var screen = GdiCache.GetScreenDCGraphics()) 1775using (var screen = GdiCache.GetScreenDCGraphics())
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
226using var screen = GdiCache.GetScreenDCGraphics();
System\Windows\Forms\Controls\Labels\Label.cs (1)
1080using var screen = GdiCache.GetScreenDCGraphics();
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (1)
343using var screen = GdiCache.GetScreenDCGraphics();