14 writes to x
System.Windows.Forms (14)
winforms\Managed\System\WinForms\Control.cs (1)
16574
pt.
x
= NativeMethods.Util.LOWORD(msg.lParam);
winforms\Managed\System\WinForms\Form.cs (6)
7184
mmi.ptMinTrackSize.
x
= minTrack.Width;
7205
mmi.ptMaxTrackSize.
x
= int.MaxValue;
7212
mmi.ptMaxTrackSize.
x
= Math.Max(maxTrack.Width, minTrackWindowSize.Width);
7217
mmi.ptMaxPosition.
x
= maximizedBounds.X;
7219
mmi.ptMaxSize.
x
= maximizedBounds.Width;
7224
mmi.ptMinTrackSize.
x
= Math.Max(mmi.ptMinTrackSize.x, 100);
winforms\Managed\System\WinForms\ListView.cs (1)
5084
pt.
x
= x;
winforms\Managed\System\WinForms\ListViewInsertionMark.cs (1)
123
point.
x
= pt.X;
winforms\Managed\System\WinForms\NativeMethods.cs (1)
3049
this.
x
= x;
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
4663
temp.
x
= me.X;
winforms\Managed\System\WinForms\ToolBar.cs (1)
1750
leftTop.
x
-= (this.ButtonSize.Width + tooltipWidth + 2);
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
1048
pt.
x
= x;
winforms\Managed\System\WinForms\WebBrowser.cs (1)
1727
pt.
x
= -1;
45 references to x
System.Windows.Forms (45)
winforms\Managed\System\WinForms\AxHost.cs (1)
2121
msg.pt_x = p.
x
;
winforms\Managed\System\WinForms\CheckedListBox.cs (1)
1674
return new Rectangle(pt.
x
, pt.y, rect.Width, rect.Height);
winforms\Managed\System\WinForms\ContainerControl.cs (1)
719
return new Rectangle(topLeftPoint.
x
, topLeftPoint.y, clientRectangle.right, clientRectangle.bottom);
winforms\Managed\System\WinForms\Control.cs (12)
2091
if ((r.left <= p.
x
&& p.
x
< r.right && r.top <= p.y && p.y < r.bottom) || UnsafeNativeMethods.GetCapture() == Handle)
3384
return new Point(pt.
x
, pt.y);
10091
return new Point(point.
x
, point.y);
10108
return new Point(point.
x
, point.y);
10352
HandleRef hClippingRegion = new HandleRef(null, SafeNativeMethods.CreateRectRgn(viewportOrg.
x
,viewportOrg.y, viewportOrg.
x
+ this.Width, viewportOrg.y + this.Height));
13152
HelpEventArgs hevent = new HelpEventArgs(new Point(info.MousePos.
x
, info.MousePos.y));
16582
Control realTarget = target.GetChildAtPoint(new Point(pt.
x
, pt.y));
16588
msg.lParam = NativeMethods.Util.MAKELPARAM(pt.
x
, pt.y);
16721
SafeNativeMethods.SetWindowOrgEx(new HandleRef(null, hdcDraw), pW.
x
, pW.y, null);
16723
SafeNativeMethods.SetViewportOrgEx(new HandleRef(null, hdcDraw), pVp.
x
, pVp.y, null);
winforms\Managed\System\WinForms\Cursor.cs (1)
313
return new Point(p.
x
, p.y);
winforms\Managed\System\WinForms\Form.cs (3)
5006
Cursor.Position = new Point(ptToSnap.
x
, ptToSnap.y);
7224
mmi.ptMinTrackSize.x = Math.Max(mmi.ptMinTrackSize.
x
, 100);
7371
if( pt.
x
>= (clientSize.Width - SizeGripSize) &&
winforms\Managed\System\WinForms\LinkLabel.cs (2)
409
if ((r.left <= p.
x
&& p.
x
< r.right && r.top <= p.y && p.y < r.bottom) || UnsafeNativeMethods.GetCapture() == Handle)
winforms\Managed\System\WinForms\ListView.cs (1)
3381
return new Point(pt.
x
, pt.y);
winforms\Managed\System\WinForms\NotifyIcon.cs (2)
736
pt.
x
,
747
contextMenuStrip.ShowInTaskbar(pt.
x
, pt.y);
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
4668
pt.X = temp.
x
;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
793
return new Rectangle(pt.
x
, pt.y, rect.Width, rect.Height);
7744
Point pos = ((PropertyGridView)Owner).FindPosition(pt.
x
, pt.y);
winforms\Managed\System\WinForms\RichTextBox.cs (1)
2379
return new Point(pt.
x
, pt.y);
winforms\Managed\System\WinForms\SplitContainer.cs (2)
590
if ((r.left <= p.
x
&& p.
x
< r.right && r.top <= p.y && p.y < r.bottom) || UnsafeNativeMethods.GetCapture() == Handle)
winforms\Managed\System\WinForms\StatusStrip.cs (1)
584
int deltaRightEdge = Math.Abs(rootHwndClientArea.right - gripLocation.
x
);
winforms\Managed\System\WinForms\ToolBar.cs (2)
1748
if (leftTop.
x
+ tooltipWidth > SystemInformation.WorkingArea.Right) {
1753
SafeNativeMethods.SetWindowPos(new HandleRef(null, note.hwndFrom), NativeMethods.NullHandleRef, leftTop.
x
, leftTop.y, 0, 0, NativeMethods.SWP_NOSIZE | NativeMethods.SWP_NOZORDER | NativeMethods.SWP_NOACTIVATE);
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
1051
if (!activeToolStrip.ClientRectangle.Contains(pt.
x
, pt.y)) {
winforms\Managed\System\WinForms\ToolTip.cs (1)
2268
Point screenCoords = new Point(sc.
x
, sc.y);
winforms\Managed\System\WinForms\TreeView.cs (1)
3101
pt.
x
,
winforms\Managed\System\WinForms\UpDownBase.cs (1)
1166
return new MouseEventArgs(e.Button, e.Clicks, point.
x
, point.y , e.Delta);
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (1)
810
return new Point(point.
x
, point.y);
winforms\Managed\System\WinForms\WebBrowser.cs (2)
1724
if (pt.
x
== 0 && pt.y == 0) {
1730
wb.ShowContextMenu(pt.
x
, pt.y);
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
399
msg.pt_x = p.
x
;
winforms\Managed\System\WinForms\WinFormsUtils.cs (4)
332
return new Point(pt.
x
, pt.y);
630
HandleRef hClippingRegion = new HandleRef(null, SafeNativeMethods.CreateRectRgn(viewportOrg.
x
+ bounds.Left, viewportOrg.y + bounds.Top, viewportOrg.
x
+ bounds.Right, viewportOrg.y + bounds.Bottom));
645
success = SafeNativeMethods.SetViewportOrgEx(hDC, viewportOrg.
x
+ bounds.Left, viewportOrg.y + bounds.Top, lastViewPort);