39 references to GdiCache
System.Windows.Forms (30)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
53
using (var screen =
GdiCache
.GetScreenHdc())
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
668
using var screen =
GdiCache
.GetScreenDCGraphics();
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckableControlBaseAdapter.cs (1)
30
using (var screen =
GdiCache
.GetScreenHdc())
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxStandardAdapter.cs (2)
98
using (var screen =
GdiCache
.GetScreenHdc())
120
using var screen =
GdiCache
.GetScreenHdc();
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonStandardAdapter.cs (1)
66
using var screen =
GdiCache
.GetScreenHdc();
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
818
using (var hfont =
GdiCache
.GetHFONTScope(Font))
819
using (var screen =
GdiCache
.GetScreenHdc())
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())
1772
using (var screen =
GdiCache
.GetScreenDCGraphics())
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
226
using var screen =
GdiCache
.GetScreenDCGraphics();
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
514
using var hfont =
GdiCache
.GetHFONTScope(Font);
System\Windows\Forms\Controls\Labels\Label.cs (4)
1065
using var hfont =
GdiCache
.GetHFONTScope(Font);
1066
using var screen =
GdiCache
.GetScreenHdc();
1080
using var screen =
GdiCache
.GetScreenDCGraphics();
1123
using var hfont =
GdiCache
.GetHFONTScope(Font);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
574
using var hfont =
GdiCache
.GetHFONTScope(Font);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (2)
1193
using (var hfont =
GdiCache
.GetHFONTScope(Font))
1194
using (var screen =
GdiCache
.GetScreenHdc())
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (1)
343
using var screen =
GdiCache
.GetScreenDCGraphics();
System\Windows\Forms\Rendering\FontCache.Data.cs (1)
38
using var screenDC =
GdiCache
.GetScreenHdc();
System\Windows\Forms\Rendering\TextRenderer.cs (3)
520
using var screen =
GdiCache
.GetScreenHdc();
650
/// <inheritdoc cref="
GdiCache
.GetHFONTScope(Font?, FONT_QUALITY)"/>
662
return
GdiCache
.GetHFONTScope(font, quality);
System.Windows.Forms.Tests (9)
System\Windows\Forms\PaintEventArgsTests.cs (1)
64
using var hdc =
GdiCache
.GetScreenHdc();
Text\FontMetrics.cs (8)
27
using var hfont =
GdiCache
.GetHFONTScope(font, FONT_QUALITY.CLEARTYPE_QUALITY);
46
using var hfont =
GdiCache
.GetHFONTScope(font, FONT_QUALITY.CLEARTYPE_QUALITY);
67
using var hfont =
GdiCache
.GetHFONTScope(font, FONT_QUALITY.CLEARTYPE_QUALITY);
68
using var screen =
GdiCache
.GetScreenHdc();
85
using var hfont =
GdiCache
.GetHFONTScope(font, FONT_QUALITY.CLEARTYPE_QUALITY);
86
using var screen =
GdiCache
.GetScreenHdc();
142
using var hfont =
GdiCache
.GetHFONTScope(font, FONT_QUALITY.CLEARTYPE_QUALITY);
143
using var screen =
GdiCache
.GetScreenHdc();