34 references to WorkingArea
System.Windows.Forms (33)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
6447Rectangle rectScreen = Screen.FromControl(this).WorkingArea;
winforms\Managed\System\WinForms\Form.cs (4)
4036Rectangle screenRect = desktop.WorkingArea; 4455Rectangle screenRect = desktop.WorkingArea; 4506Rectangle screenRect = desktop.WorkingArea; 5962Rectangle current = screens[i].WorkingArea;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
1639Rectangle rectScreen = Screen.FromControl(Edit).WorkingArea; 1714Rectangle rectScreen = Screen.FromControl(Edit).WorkingArea;
winforms\Managed\System\WinForms\Screen.cs (4)
380return Screen.FromPoint(pt).WorkingArea; 391return Screen.FromRectangle(rect).WorkingArea; 402return Screen.FromControl(ctl).WorkingArea; 482return GetType().Name + "[Bounds=" + bounds.ToString() + " WorkingArea=" + WorkingArea.ToString() + " Primary=" + primary.ToString() + " DeviceName=" + deviceName;
winforms\Managed\System\WinForms\ToolTip.cs (22)
1572visibleRect.left = (r.left < screen.WorkingArea.Left) ? screen.WorkingArea.Left:r.left; 1573visibleRect.top = (r.top < screen.WorkingArea.Top) ? screen.WorkingArea.Top:r.top; 1574visibleRect.right = (r.right > screen.WorkingArea.Right) ? screen.WorkingArea.Right:r.right; 1575visibleRect.bottom = (r.bottom > screen.WorkingArea.Bottom) ? screen.WorkingArea.Bottom:r.bottom; 2164if (moveToLocation.X + tipSize.Width > screen.WorkingArea.Right) { 2165moveToLocation.X = screen.WorkingArea.Right - tipSize.Width; 2169if (moveToLocation.Y + tipSize.Height> screen.WorkingArea.Bottom) { 2170moveToLocation.Y = screen.WorkingArea.Bottom - tipSize.Height; 2337Math.Min(currentTooltipSize.Width-2*XBALLOONOFFSET, screen.WorkingArea.Width): 2338Math.Min(currentTooltipSize.Width, screen.WorkingArea.Width); 2451if (wp->y + wp->cy + currentCursor.Size.Height - currentCursor.HotSpot.Y > screen.WorkingArea.Bottom) { 2462if (wp->x + wp->cx >screen.WorkingArea.Right) { 2463wp->x = screen.WorkingArea.Right - wp->cx; 2471if (wp->x + wp->cx >screen.WorkingArea.Right) { 2472wp->x = screen.WorkingArea.Right - wp->cx; 2476if (wp->y + wp->cy > screen.WorkingArea.Bottom) { 2477wp->y = screen.WorkingArea.Bottom - wp->cy; 2516UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle), NativeMethods.TTM_SETMAXTIPWIDTH, 0, screen.WorkingArea.Width);
System.Workflow.ComponentModel (1)
AuthoringOM\Design\DesignerWidgets.cs (1)
1096this.workingRectangle = closestScreen.WorkingArea;