25 references to FromXYWH
System.Windows.Forms (25)
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
257
NativeMethods.RECT rcCheck = NativeMethods.RECT.
FromXYWH
(0, 0, fullSize.Width, fullSize.Height);
winforms\Managed\System\WinForms\Control.cs (5)
7313
NativeMethods.RECT rcArea = NativeMethods.RECT.
FromXYWH
(rc.X, rc.Y, rc.Width, rc.Height);
7322
NativeMethods.RECT.
FromXYWH
(rc.X, rc.Y, rc.Width,
11061
NativeMethods.RECT rect = NativeMethods.RECT.
FromXYWH
(r.X, r.Y, r.Width, r.Height);
11078
NativeMethods.RECT rect = NativeMethods.RECT.
FromXYWH
(r.X, r.Y, r.Width, r.Height);
18406
NativeMethods.RECT rcIntersect = NativeMethods.RECT.
FromXYWH
(intersect.X, intersect.Y, intersect.Width, intersect.Height);
winforms\Managed\System\WinForms\ControlPaint.cs (3)
954
NativeMethods.RECT rc = NativeMethods.RECT.
FromXYWH
(x, y, width, height);
1278
NativeMethods.RECT rcCheck = NativeMethods.RECT.
FromXYWH
(0, 0, rectangle.Width, rectangle.Height);
1361
NativeMethods.RECT rcFrame = NativeMethods.RECT.
FromXYWH
(0, 0, width, height);
winforms\Managed\System\WinForms\Cursor.cs (1)
193
NativeMethods.RECT rcClip = NativeMethods.RECT.
FromXYWH
(value.X, value.Y, value.Width, value.Height);
winforms\Managed\System\WinForms\DataGrid.cs (2)
8628
NativeMethods.RECT scrollArea = NativeMethods.RECT.
FromXYWH
(rowsRect.X, rowsRect.Y, rowsRect.Width, rowsRect.Height);
8881
NativeMethods.RECT scrollRECT = NativeMethods.RECT.
FromXYWH
(underParentRows.X, underParentRows.Y - layout.ParentRows.Height, underParentRows.Width, underParentRows.Height + layout.ParentRows.Height);
winforms\Managed\System\WinForms\DataGridToolTip.cs (1)
71
toolInfo.rect = NativeMethods.RECT.
FromXYWH
(iconBounds.X, iconBounds.Y, iconBounds.Width, iconBounds.Height);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1433
NativeMethods.RECT rcCheck = NativeMethods.RECT.
FromXYWH
(0, 0, fullSize.Width, fullSize.Height);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
26470
NativeMethods.RECT scrollArea = NativeMethods.RECT.
FromXYWH
(rowsRect.X, rowsRect.Y, rowsRect.Width, rowsRect.Height);
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
1226
toolInfo.rect = NativeMethods.RECT.
FromXYWH
(iconBounds.X, iconBounds.Y, iconBounds.Width, iconBounds.Height);
winforms\Managed\System\WinForms\Form.cs (1)
7858
toolInfo.rect = NativeMethods.RECT.
FromXYWH
(r.X, r.Y, r.Width, r.Height);
winforms\Managed\System\WinForms\NativeMethods.cs (1)
2802
internal RECT rcMargins = RECT.
FromXYWH
(-1, -1, -1, -1); // amount of space between edges of window and text, -1 for each member to ignore
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (1)
749
NativeMethods.RECT scroll = NativeMethods.RECT.
FromXYWH
(rect.X, rect.Y, rect.Width, rect.Height);
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
180
NativeMethods.RECT rect = NativeMethods.RECT.
FromXYWH
(itemRect.X, itemRect.Y, itemRect.Width, itemRect.Height);
winforms\Managed\System\WinForms\Screen.cs (1)
328
NativeMethods.RECT rc = NativeMethods.RECT.
FromXYWH
(rect.X, rect.Y, rect.Width, rect.Height);
winforms\Managed\System\WinForms\ScrollableControl.cs (2)
876
NativeMethods.RECT rcClip = NativeMethods.RECT.
FromXYWH
(cr.X, cr.Y, cr.Width, cr.Height);
877
NativeMethods.RECT rcUpdate = NativeMethods.RECT.
FromXYWH
(cr.X, cr.Y, cr.Width, cr.Height);
winforms\Managed\System\WinForms\StatusBar.cs (1)
1888
ti.rect = NativeMethods.RECT.
FromXYWH
(tool.rect.X, tool.rect.Y, tool.rect.Width, tool.rect.Height);
winforms\Managed\System\WinForms\TabControl.cs (1)
414
NativeMethods.RECT rect = NativeMethods.RECT.
FromXYWH
(bounds.X, bounds.Y, bounds.Width, bounds.Height);