6 references to DesktopBounds
System.Windows.Forms.Tests (2)
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
76Assert.Equal(new Rectangle(-SystemInformation.WorkingArea.X, -SystemInformation.WorkingArea.Y, control.Width, control.Height), control.DesktopBounds);
System\Windows\Forms\FormTests.cs (1)
75Assert.Equal(new Rectangle(-SystemInformation.WorkingArea.X, -SystemInformation.WorkingArea.Y, 300, 300), control.DesktopBounds);
System.Windows.Forms.UI.IntegrationTests (4)
DragDropTests.cs (4)
916if (((MousePosition.X - _screenOffset.X) < form.DesktopBounds.Left) || 917((MousePosition.X - _screenOffset.X) > form.DesktopBounds.Right) || 918((MousePosition.Y - _screenOffset.Y) < form.DesktopBounds.Top) || 919((MousePosition.Y - _screenOffset.Y) > form.DesktopBounds.Bottom))