39 references to FromLTRB
System.Windows.Forms (39)
winforms\Managed\System\WinForms\ComboBox.cs (1)
3612
OnDrawItem(new DrawItemEventArgs(g, Font, Rectangle.
FromLTRB
(dis.rcItem.left, dis.rcItem.top, dis.rcItem.right, dis.rcItem.bottom),
winforms\Managed\System\WinForms\Control.cs (8)
3001
working = new Region(Rectangle.
FromLTRB
(temp.left, temp.top, temp.right, temp.bottom));
3019
Rectangle current = Rectangle.
FromLTRB
(temp.left, temp.top, temp.right, temp.bottom);
11063
return Rectangle.
FromLTRB
(rect.left, rect.top, rect.right, rect.bottom);
11080
return Rectangle.
FromLTRB
(rect.left, rect.top, rect.right, rect.bottom);
12966
using (PaintEventArgs pevent = new PaintEventArgs(dc, Rectangle.
FromLTRB
(rc.left, rc.top, rc.right, rc.bottom))) {
16195
return Rectangle.
FromLTRB
(rectangle.left, rectangle.top, rectangle.right, rectangle.bottom);
18344
Rectangle posRect = Rectangle.
FromLTRB
(lprcPosRect.left, lprcPosRect.top, lprcPosRect.right, lprcPosRect.bottom);
18390
Rectangle clipRect = Rectangle.
FromLTRB
(lprcClipRect.left, lprcClipRect.top, lprcClipRect.right, lprcClipRect.bottom);
winforms\Managed\System\WinForms\Cursor.cs (1)
186
return Rectangle.
FromLTRB
(r.left, r.top, r.right, r.bottom);
winforms\Managed\System\WinForms\Form.cs (2)
3434
Rectangle currentClient = Rectangle.
FromLTRB
(rc.left, rc.top, rc.right, rc.bottom);
3458
currentClient = Rectangle.
FromLTRB
(rc.left, rc.top, rc.right, rc.bottom);
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (1)
516
return Rectangle.
FromLTRB
(left, top, right, bottom);
winforms\Managed\System\WinForms\ListBox.cs (2)
1507
return Rectangle.
FromLTRB
(rect.left, rect.top, rect.right, rect.bottom);
2329
Rectangle bounds = Rectangle.
FromLTRB
(dis.rcItem.left, dis.rcItem.top, dis.rcItem.right, dis.rcItem.bottom);
winforms\Managed\System\WinForms\ListView.cs (4)
3432
return Rectangle.
FromLTRB
(itemrect.left, itemrect.top, itemrect.right, itemrect.bottom);
3453
return Rectangle.
FromLTRB
(itemrect.left, itemrect.top, itemrect.right, itemrect.bottom);
3526
Rectangle result = Rectangle.
FromLTRB
(itemrect.left, itemrect.top, itemrect.right, itemrect.bottom);
5473
Rectangle r = Rectangle.
FromLTRB
(nmcd->rc.left, nmcd->rc.top, nmcd->rc.right, nmcd->rc.bottom);
winforms\Managed\System\WinForms\ListViewInsertionMark.cs (1)
65
return Rectangle.
FromLTRB
(rect.left, rect.top, rect.right, rect.bottom);
winforms\Managed\System\WinForms\MenuItem.cs (1)
1498
OnDrawItem(new DrawItemEventArgs(g, SystemInformation.MenuFont, Rectangle.
FromLTRB
(dis.rcItem.left, dis.rcItem.top, dis.rcItem.right, dis.rcItem.bottom), Index, (DrawItemState)dis.itemState));
winforms\Managed\System\WinForms\RichTextBox.cs (1)
3475
OnContentsResized(new ContentsResizedEventArgs(Rectangle.
FromLTRB
(reqResize.rc.left, reqResize.rc.top, reqResize.rc.right, reqResize.rc.bottom)));
winforms\Managed\System\WinForms\Screen.cs (2)
92
bounds = Rectangle.
FromLTRB
(info.rcMonitor.left, info.rcMonitor.top, info.rcMonitor.right, info.rcMonitor.bottom);
249
workingArea = Rectangle.
FromLTRB
(info.rcWork.left, info.rcWork.top, info.rcWork.right, info.rcWork.bottom);
winforms\Managed\System\WinForms\StatusBar.cs (1)
1039
Rectangle r = Rectangle.
FromLTRB
(dis.rcItem.left, dis.rcItem.top, dis.rcItem.right, dis.rcItem.bottom);
winforms\Managed\System\WinForms\StatusBarPanel.cs (1)
660
this.parent.Invalidate(Rectangle.
FromLTRB
(rect.left, rect.top, rect.right, rect.bottom));
winforms\Managed\System\WinForms\SystemInformation.cs (1)
450
return Rectangle.
FromLTRB
(rc.left, rc.top, rc.right, rc.bottom);
winforms\Managed\System\WinForms\TabControl.cs (3)
437
Rectangle r = Rectangle.
FromLTRB
(rect.left, rect.top, rect.right, rect.bottom);
1252
return Rectangle.
FromLTRB
(rect.left, rect.top, rect.right, rect.bottom);
2058
OnDrawItem(new DrawItemEventArgs(g, Font, Rectangle.
FromLTRB
(dis.rcItem.left, dis.rcItem.top, dis.rcItem.right, dis.rcItem.bottom), dis.itemID, (DrawItemState)dis.itemState));
winforms\Managed\System\WinForms\ToolBarButton.cs (1)
336
return Rectangle.
FromLTRB
(rc.left, rc.top, rc.right, rc.bottom);
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
661
return Rectangle.
FromLTRB
(rect.top, rect.top, rect.right, rect.bottom);
winforms\Managed\System\WinForms\TreeNode.cs (2)
289
return Rectangle.
FromLTRB
(rc.left, rc.top, rc.right, rc.bottom);
312
return Rectangle.
FromLTRB
(rc.left, rc.top, rc.right, rc.bottom);
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (5)
364
return Rectangle.
FromLTRB
(rect.left, rect.top, rect.right, rect.bottom);
523
return Rectangle.
FromLTRB
(rect.left, rect.top, rect.right, rect.bottom);
547
return Rectangle.
FromLTRB
(rect.left, rect.top, rect.right, rect.bottom);
881
return Rectangle.
FromLTRB
(rect.left, rect.top, rect.right, rect.bottom);
906
return Rectangle.
FromLTRB
(rect.left, rect.top, rect.right, rect.bottom);