25 references to FromXYWH
System.Windows.Forms (25)
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (1)
257NativeMethods.RECT rcCheck = NativeMethods.RECT.FromXYWH(0, 0, fullSize.Width, fullSize.Height);
winforms\Managed\System\WinForms\Control.cs (5)
7313NativeMethods.RECT rcArea = NativeMethods.RECT.FromXYWH(rc.X, rc.Y, rc.Width, rc.Height); 7322NativeMethods.RECT.FromXYWH(rc.X, rc.Y, rc.Width, 11061NativeMethods.RECT rect = NativeMethods.RECT.FromXYWH(r.X, r.Y, r.Width, r.Height); 11078NativeMethods.RECT rect = NativeMethods.RECT.FromXYWH(r.X, r.Y, r.Width, r.Height); 18406NativeMethods.RECT rcIntersect = NativeMethods.RECT.FromXYWH(intersect.X, intersect.Y, intersect.Width, intersect.Height);
winforms\Managed\System\WinForms\ControlPaint.cs (3)
954NativeMethods.RECT rc = NativeMethods.RECT.FromXYWH(x, y, width, height); 1278NativeMethods.RECT rcCheck = NativeMethods.RECT.FromXYWH(0, 0, rectangle.Width, rectangle.Height); 1361NativeMethods.RECT rcFrame = NativeMethods.RECT.FromXYWH(0, 0, width, height);
winforms\Managed\System\WinForms\Cursor.cs (1)
193NativeMethods.RECT rcClip = NativeMethods.RECT.FromXYWH(value.X, value.Y, value.Width, value.Height);
winforms\Managed\System\WinForms\DataGrid.cs (2)
8628NativeMethods.RECT scrollArea = NativeMethods.RECT.FromXYWH(rowsRect.X, rowsRect.Y, rowsRect.Width, rowsRect.Height); 8881NativeMethods.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)
71toolInfo.rect = NativeMethods.RECT.FromXYWH(iconBounds.X, iconBounds.Y, iconBounds.Width, iconBounds.Height);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1433NativeMethods.RECT rcCheck = NativeMethods.RECT.FromXYWH(0, 0, fullSize.Width, fullSize.Height);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
26470NativeMethods.RECT scrollArea = NativeMethods.RECT.FromXYWH(rowsRect.X, rowsRect.Y, rowsRect.Width, rowsRect.Height);
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
1226toolInfo.rect = NativeMethods.RECT.FromXYWH(iconBounds.X, iconBounds.Y, iconBounds.Width, iconBounds.Height);
winforms\Managed\System\WinForms\Form.cs (1)
7858toolInfo.rect = NativeMethods.RECT.FromXYWH(r.X, r.Y, r.Width, r.Height);
winforms\Managed\System\WinForms\NativeMethods.cs (1)
2802internal 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)
749NativeMethods.RECT scroll = NativeMethods.RECT.FromXYWH(rect.X, rect.Y, rect.Width, rect.Height);
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
180NativeMethods.RECT rect = NativeMethods.RECT.FromXYWH(itemRect.X, itemRect.Y, itemRect.Width, itemRect.Height);
winforms\Managed\System\WinForms\Screen.cs (1)
328NativeMethods.RECT rc = NativeMethods.RECT.FromXYWH(rect.X, rect.Y, rect.Width, rect.Height);
winforms\Managed\System\WinForms\ScrollableControl.cs (2)
876NativeMethods.RECT rcClip = NativeMethods.RECT.FromXYWH(cr.X, cr.Y, cr.Width, cr.Height); 877NativeMethods.RECT rcUpdate = NativeMethods.RECT.FromXYWH(cr.X, cr.Y, cr.Width, cr.Height);
winforms\Managed\System\WinForms\StatusBar.cs (1)
1888ti.rect = NativeMethods.RECT.FromXYWH(tool.rect.X, tool.rect.Y, tool.rect.Width, tool.rect.Height);
winforms\Managed\System\WinForms\TabControl.cs (1)
414NativeMethods.RECT rect = NativeMethods.RECT.FromXYWH(bounds.X, bounds.Y, bounds.Width, bounds.Height);