winforms\Managed\System\WinForms\ErrorProvider.cs (4)
1073Rectangle bounds = item.GetIconBounds(provider.Region.Size);
1074SafeNativeMethods.DrawIconEx(new HandleRef(this, mirrordc.Hdc), bounds.X - windowBounds.X, bounds.Y - windowBounds.Y, new HandleRef(provider.Region, provider.Region.IconHandle), bounds.Width, bounds.Height, 0, NativeMethods.NullHandleRef, NativeMethods.DI_NORMAL);
1175IconRegion iconRegion = provider.Region;