10 references to SelectObject
System.Windows.Forms (10)
misc\GDI\DeviceContext.cs (3)
194
IntPtr currentPen = IntUnsafeNativeMethods.
SelectObject
(new HandleRef(this, this.Hdc), new HandleRef( this, hInitialPen));
202
IntPtr currentBrush = IntUnsafeNativeMethods.
SelectObject
(new HandleRef(this, this.Hdc), new HandleRef( this, hInitialBrush));
210
IntPtr currentBmp = IntUnsafeNativeMethods.
SelectObject
(new HandleRef(this, this.Hdc), new HandleRef( this, hInitialBmp));
misc\GDI\DeviceContext2.cs (3)
242
IntUnsafeNativeMethods.
SelectObject
(new HandleRef(this, this.Hdc), new HandleRef( null, hInitialFont));
313
IntUnsafeNativeMethods.
SelectObject
(new HandleRef(this, this.Hdc), new HandleRef( null, hInitialFont ));
383
return IntUnsafeNativeMethods.
SelectObject
(new HandleRef(this, this.Hdc), new HandleRef( null, hObj));
misc\GDI\WindowsGraphics2.cs (4)
83
IntUnsafeNativeMethods.
SelectObject
(hdc, new HandleRef(pen, pen.HPen));
113
IntUnsafeNativeMethods.
SelectObject
(hdc, new HandleRef(pen, pen.HPen));
118
IntUnsafeNativeMethods.
SelectObject
(hdc, new HandleRef(brush, brush.HBrush));
602
IntUnsafeNativeMethods.
SelectObject
(hdc, new HandleRef(null, IntUnsafeNativeMethods.GetStockObject(IntNativeMethods.HOLLOW_BRUSH)));