1 write to Y
System.Windows.Forms (1)
System\Windows\Forms\OLE\DragEventArgs.cs (1)
43Y = y;
29 references to Y
System.Windows.Forms (11)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (3)
69ToolStripItem? item = FindItemAtPoint(e.X, e.Y); 110ToolStripItem? item = FindItemAtPoint(e.X, e.Y); 211DragEventArgs dragEnterArgs = new(e.Data, e.KeyState, e.X, e.Y, e.AllowedEffect, e.Effect, e.DropImageType, e.Message, e.MessageReplacementToken)
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackDragDropHandler.cs (3)
26ShowItemDropPoint(_owner.PointToClient(new Point(e.X, e.Y))); 40OnDropItem(item, _owner.PointToClient(new Point(e.X, e.Y))); 48if (ShowItemDropPoint(_owner.PointToClient(new Point(e.X, e.Y))))
System\Windows\Forms\OLE\DragDropHelper.cs (3)
82Point point = new(e.X, e.Y); 128Point point = new(e.X, e.Y); 144Point point = new(e.X, e.Y);
System\Windows\Forms\OLE\DragEventArgs.cs (2)
127&& dragEventArgs.Y == Y
System.Windows.Forms.Design (15)
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (1)
261ToolboxSnapDragDropEventArgs se = CreateToolboxSnapArgs(e, new Point(e.X - screenOffset.X, e.Y - screenOffset.Y));
System\Windows\Forms\Design\Behavior\ToolboxSnapDragDropEventArgs.cs (1)
22: base(origArgs.Data, origArgs.KeyState, origArgs.X, origArgs.Y, origArgs.AllowedEffect, origArgs.Effect)
System\Windows\Forms\Design\ComponentTray.cs (1)
1069_mouseDropLocation = PointToClient(new Point(de.X, de.Y));
System\Windows\Forms\Design\ControlDesigner.TransparentBehavior.cs (1)
71if (e is not null && _controlRect != Rectangle.Empty && !_controlRect.Contains(new Point(e.X, e.Y)))
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
790Point mouseLocation = new(de.X, de.Y);
System\Windows\Forms\Design\OleDragDropHandler.cs (5)
605if ((Dragging && de.X == _dragBase.X && de.Y == _dragBase.Y) || 758Point dropPt = Destination.GetDesignerControl().PointToClient(new Point(de.X, de.Y)); 845Rectangle offset = new(de.X - _dragBase.X, de.Y - _dragBase.Y, 0, 0); 965Point convertedPoint = Destination.GetDesignerControl().PointToClient(new Point(de.X, de.Y)); 968Point newOffset = _forceDrawFrames ? convertedPoint : new Point(de.X - _dragBase.X, de.Y - _dragBase.Y);
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1433CreateTool(_mouseDragTool, new Point(de.X, de.Y));
System\Windows\Forms\Design\TabControlDesigner.cs (1)
573Point dropPoint = Control.PointToClient(new Point(de.X, de.Y));
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1802Point offset = new(de.X, de.Y);
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (2)
531Y = e.Y 574Y = e.Y
System.Windows.Forms.Tests (2)
System\Windows\Forms\DragEventArgsTests.cs (2)
29Assert.Equal(y, e.Y); 43Assert.Equal(y, e.Y);
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
867ListDragTarget.IndexFromPoint(ListDragTarget.PointToClient(new Point(e.X, e.Y)));