Implemented interface member:
method
GetHdc
System.Drawing.IDeviceContext.GetHdc()
14 references to GetHdc
System.Drawing.Common (6)
System\Drawing\BufferedGraphics.cs (2)
69
IntPtr targetDC = target.
GetHdc
();
87
IntPtr sourceDC = Graphics.
GetHdc
();
System\Drawing\BufferedGraphicsContext.cs (1)
118
IntPtr destDc = targetGraphics.
GetHdc
();
System\Drawing\Graphics.cs (3)
488
HDC IHdcContext.GetHdc() => (HDC)
GetHdc
();
2743
HDC targetDC = (HDC)
GetHdc
();
3314
hdc = (HDC)
GetHdc
();
System.Windows.Forms (7)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (1)
4001
IntPtr bufferHdc = bufferGraphics.
GetHdc
();
System\Windows\Forms\Controls\ImageList\ImageList.cs (2)
528
HDC dc = (HDC)g.
GetHdc
();
664
HDC dc = (HDC)graphics.
GetHdc
();
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
2804
IntPtr bufferHdc = offscreenGraphics.
GetHdc
();
System\Windows\Forms\Rendering\ControlPaint.cs (1)
470
g.
GetHdc
();
System\Windows\Forms\Rendering\DrawItemEventArgs.cs (1)
161
IntPtr IDeviceContext.GetHdc() => Graphics?.
GetHdc
() ?? IntPtr.Zero;
System\Windows\Forms\Rendering\PaintEventArgs.cs (1)
134
IntPtr IDeviceContext.GetHdc() => Graphics?.
GetHdc
() ?? IntPtr.Zero;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignerUtils.cs (1)
442
IntPtr hDc = g.
GetHdc
();