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