7 references to SelectPalette
System.Windows.Forms (7)
winforms\Managed\System\WinForms\ComboBox.cs (1)
3618SafeNativeMethods.SelectPalette(new HandleRef(this, dis.hDC), new HandleRef(null, oldPal), 0);
winforms\Managed\System\WinForms\Control.cs (2)
12055IntPtr result = SafeNativeMethods.SelectPalette(new HandleRef(null, dc), new HandleRef(null, halftonePalette), (force ? 0 : 1)); 13767SafeNativeMethods.SelectPalette(new HandleRef(null, dc), new HandleRef(null, oldPal), 0);
winforms\Managed\System\WinForms\ListBox.cs (1)
2349SafeNativeMethods.SelectPalette(new HandleRef(null, dc), new HandleRef(null, oldPal), 0);
winforms\Managed\System\WinForms\MenuItem.cs (1)
1506SafeNativeMethods.SelectPalette(new HandleRef(null, dis.hDC), new HandleRef(null, oldPal), 0);
winforms\Managed\System\WinForms\PaintEvent.cs (1)
170SafeNativeMethods.SelectPalette(new HandleRef(this, dc), new HandleRef(this, oldPal), 0);
winforms\Managed\System\WinForms\TabControl.cs (1)
2061SafeNativeMethods.SelectPalette(new HandleRef(null, dis.hDC), new HandleRef(null, oldPal), 0);