13 references to hdc
System.Windows.Forms (13)
System\Windows\Forms\Controls\ListView\ListView.cs (9)
2620
PInvokeCore.SelectObject(nmcd->nmcd.
hdc
, _odCacheFontHandleWrapper.Handle);
2648
using Graphics g = nmcd->nmcd.
hdc
.CreateGraphics();
2712
using Graphics g = nmcd->nmcd.
hdc
.CreateGraphics();
2905
PInvokeCore.SelectObject(nmcd->nmcd.
hdc
, _odCacheFontHandle);
2913
PInvokeCore.SelectObject(nmcd->nmcd.
hdc
, _odCacheFontHandleWrapper.Handle);
6022
PInvokeCore.SetTextColor(nmlvcd->nmcd.
hdc
, ForeColor);
6057
using Graphics g = nmcd->
hdc
.CreateGraphics();
6058
Color foreColor = PInvoke.GetTextColor(nmcd->
hdc
);
6059
Color backColor = PInvoke.GetBkColor(nmcd->
hdc
);
System\Windows\Forms\Controls\TreeView\TreeView.cs (3)
2731
using (Graphics g = nmtvcd->nmcd.
hdc
.CreateGraphics())
2785
PInvokeCore.SelectObject(nmtvcd->nmcd.
hdc
, renderinfo.FontHandle);
2812
using (Graphics g = nmtvcd->nmcd.
hdc
.CreateGraphics())
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
229
nmtvcd->nmcd.
hdc
,