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