30 references to GdiCache
System.Windows.Forms (30)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
51using (var screen = GdiCache.GetScreenHdc())
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
668using var screen = GdiCache.GetScreenDCGraphics();
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckableControlBaseAdapter.cs (1)
30using (var screen = GdiCache.GetScreenHdc())
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxStandardAdapter.cs (2)
98using (var screen = GdiCache.GetScreenHdc()) 120using var screen = GdiCache.GetScreenHdc();
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonStandardAdapter.cs (1)
66using var screen = GdiCache.GetScreenHdc();
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
817using (var hfont = GdiCache.GetHFONTScope(Font)) 818using (var screen = GdiCache.GetScreenHdc())
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()) 1779using (var screen = GdiCache.GetScreenDCGraphics())
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
226using var screen = GdiCache.GetScreenDCGraphics();
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
514using var hfont = GdiCache.GetHFONTScope(Font);
System\Windows\Forms\Controls\Labels\Label.cs (4)
1065using var hfont = GdiCache.GetHFONTScope(Font); 1066using var screen = GdiCache.GetScreenHdc(); 1080using var screen = GdiCache.GetScreenDCGraphics(); 1123using var hfont = GdiCache.GetHFONTScope(Font);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
574using var hfont = GdiCache.GetHFONTScope(Font);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (2)
1192using (var hfont = GdiCache.GetHFONTScope(Font)) 1193using (var screen = GdiCache.GetScreenHdc())
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (1)
343using var screen = GdiCache.GetScreenDCGraphics();
System\Windows\Forms\Rendering\FontCache.Data.cs (1)
38using var screenDC = GdiCache.GetScreenHdc();
System\Windows\Forms\Rendering\TextRenderer.cs (3)
520using var screen = GdiCache.GetScreenHdc(); 650/// <inheritdoc cref="GdiCache.GetHFONTScope(Font?, FONT_QUALITY)"/> 662return GdiCache.GetHFONTScope(font, quality);