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