1 instantiation of DeviceContext
System.Windows.Forms (1)
misc\GDI\DeviceContext.cs (1)
333
return new
DeviceContext
(hwnd);
39 references to DeviceContext
System.Windows.Forms (39)
misc\GDI\DeviceContext.cs (7)
275
public static
DeviceContext
CreateDC(string driverName, string deviceName, string fileName, HandleRef devMode)
288
public static
DeviceContext
CreateIC(string driverName, string deviceName, string fileName, HandleRef devMode)
301
public static
DeviceContext
FromCompatibleDC(IntPtr hdc)
321
public static
DeviceContext
FromHdc(IntPtr hdc)
331
public static
DeviceContext
FromHwnd( IntPtr hwnd )
658
DeviceContext
other = obj as
DeviceContext
;
misc\GDI\DeviceContext2.cs (2)
225
public static
DeviceContext
ScreenDC
229
return
DeviceContext
.FromHwnd(IntPtr.Zero);
misc\GDI\DeviceContexts.cs (6)
47
internal static void AddDeviceContext(
DeviceContext
dc) {
61
DeviceContext
dc = sender as
DeviceContext
;
70
internal static void RemoveDeviceContext(
DeviceContext
dc) {
84
DeviceContext
dc = activeDeviceContexts[i] as
DeviceContext
;
misc\GDI\MeasurementDCInfo.cs (1)
34
internal static bool IsMeasurementDC(
DeviceContext
dc)
misc\GDI\WindowsBrush.cs (4)
41
private
DeviceContext
dc;
59
public WindowsBrush(
DeviceContext
dc)
65
public WindowsBrush(
DeviceContext
dc, Color color)
76
protected
DeviceContext
DC {
misc\GDI\WindowsGraphics.cs (11)
54
DeviceContext
dc;
65
public WindowsGraphics(
DeviceContext
dc )
82
DeviceContext
dc =
DeviceContext
.FromCompatibleDC(IntPtr.Zero);
98
DeviceContext
dc =
DeviceContext
.FromCompatibleDC(screenDC);
108
DeviceContext
dc =
DeviceContext
.FromHwnd( hWnd );
122
DeviceContext
dc =
DeviceContext
.FromHdc(hDc);
241
public
DeviceContext
DeviceContext
misc\GDI\WindowsPen.cs (6)
46
private
DeviceContext
dc;
64
public WindowsPen(
DeviceContext
dc) :
71
public WindowsPen(
DeviceContext
dc, Color color ) :
78
public WindowsPen(
DeviceContext
dc, WindowsBrush windowsBrush ) :
84
public WindowsPen(
DeviceContext
dc, WindowsPenStyle style, int width, Color color)
96
public WindowsPen(
DeviceContext
dc, WindowsPenStyle style, int width, WindowsBrush windowsBrush )
misc\GDI\WindowsSolidBrush.cs (2)
46
public WindowsSolidBrush(
DeviceContext
dc) : base(dc)
53
public WindowsSolidBrush(
DeviceContext
dc, Color color) : base( dc, color )