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