15 writes to y
System.Windows.Forms (15)
winforms\Managed\System\WinForms\Control.cs (1)
16575pt.y = NativeMethods.Util.HIWORD(msg.lParam);
winforms\Managed\System\WinForms\Form.cs (6)
7185mmi.ptMinTrackSize.y = minTrack.Height; 7202mmi.ptMaxTrackSize.y = int.MaxValue; 7213mmi.ptMaxTrackSize.y = Math.Max(maxTrack.Height, minTrackWindowSize.Height); 7218mmi.ptMaxPosition.y = maximizedBounds.Y; 7220mmi.ptMaxSize.y = maximizedBounds.Height; 7225mmi.ptMinTrackSize.y = Math.Max(mmi.ptMinTrackSize.y, SystemInformation.CaptionButtonSize.Height * 3);
winforms\Managed\System\WinForms\ListView.cs (1)
5085pt.y = y;
winforms\Managed\System\WinForms\ListViewInsertionMark.cs (1)
124point.y = pt.Y;
winforms\Managed\System\WinForms\NativeMethods.cs (1)
3050this.y = y;
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
4664temp.y = me.Y;
winforms\Managed\System\WinForms\ToolBar.cs (2)
1738leftTop.y += (this.ButtonSize.Height / 2) + 1; 1744leftTop.y -= ((this.ButtonSize.Height / 2) + tooltipHeight + 1);
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
1049pt.y = y;
winforms\Managed\System\WinForms\WebBrowser.cs (1)
1728pt.y = -1;
46 references to y
System.Windows.Forms (46)
winforms\Managed\System\WinForms\AxHost.cs (1)
2122msg.pt_y = p.y;
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); 7225mmi.ptMinTrackSize.y = Math.Max(mmi.ptMinTrackSize.y, SystemInformation.CaptionButtonSize.Height * 3); 7372pt.y >= (clientSize.Height - 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)
737pt.y, 747contextMenuStrip.ShowInTaskbar(pt.x, pt.y);
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
4669pt.Y = temp.y;
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)
583int deltaBottomEdge = Math.Abs(rootHwndClientArea.bottom - gripLocation.y);
winforms\Managed\System\WinForms\ToolBar.cs (3)
1736if (leftTop.y < SystemInformation.WorkingArea.Y) { 1742if (leftTop.y + tooltipHeight > SystemInformation.WorkingArea.Height) { 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)
3102pt.y,
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)
400msg.pt_y = p.y;
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);