3 writes to windowBounds
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ErrorProvider.cs (3)
1177
windowBounds
= Rectangle.Empty;
1182
windowBounds
= iconBounds;
1184
windowBounds
= Rectangle.Union(windowBounds, iconBounds);
16 references to windowBounds
System.Windows.Forms (16)
winforms\Managed\System\WinForms\ErrorProvider.cs (16)
996
windowBounds
.X,
997
windowBounds
.Y,
998
windowBounds
.Width,
999
windowBounds
.Height,
1068
CreateMirrorDC(hdc,
windowBounds
.Width - 1);
1074
SafeNativeMethods.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);
1181
if (
windowBounds
.IsEmpty)
1184
windowBounds = Rectangle.Union(
windowBounds
, iconBounds);
1193
iconBounds.X -=
windowBounds
.X;
1194
iconBounds.Y -=
windowBounds
.Y;
1246
CreateMirrorDC(dc.Hdc,
windowBounds
.Width);
1278
SafeNativeMethods.SetWindowPos(new HandleRef(this, Handle), NativeMethods.HWND_TOP,
windowBounds
.X,
windowBounds
.Y,
1279
windowBounds
.Width,
windowBounds
.Height, NativeMethods.SWP_NOACTIVATE);