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