1 write to Y
System.Windows.Forms (1)
System\Windows\Forms\OLE\DragEventArgs.cs (1)
43
Y
= y;
29 references to Y
System.Windows.Forms (11)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropTargetManager.cs (3)
69
ToolStripItem? item = FindItemAtPoint(e.X, e.
Y
);
110
ToolStripItem? item = FindItemAtPoint(e.X, e.
Y
);
211
DragEventArgs 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)
26
ShowItemDropPoint(_owner.PointToClient(new Point(e.X, e.
Y
)));
40
OnDropItem(item, _owner.PointToClient(new Point(e.X, e.
Y
)));
48
if (ShowItemDropPoint(_owner.PointToClient(new Point(e.X, e.
Y
))))
System\Windows\Forms\OLE\DragDropHelper.cs (3)
82
Point point = new(e.X, e.
Y
);
128
Point point = new(e.X, e.
Y
);
144
Point 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)
261
ToolboxSnapDragDropEventArgs 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)
71
if (e is not null && _controlRect != Rectangle.Empty && !_controlRect.Contains(new Point(e.X, e.
Y
)))
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
790
Point mouseLocation = new(de.X, de.
Y
);
System\Windows\Forms\Design\OleDragDropHandler.cs (5)
605
if ((Dragging && de.X == _dragBase.X && de.
Y
== _dragBase.Y) ||
758
Point dropPt = Destination.GetDesignerControl().PointToClient(new Point(de.X, de.
Y
));
845
Rectangle offset = new(de.X - _dragBase.X, de.
Y
- _dragBase.Y, 0, 0);
965
Point convertedPoint = Destination.GetDesignerControl().PointToClient(new Point(de.X, de.
Y
));
968
Point newOffset = _forceDrawFrames ? convertedPoint : new Point(de.X - _dragBase.X, de.
Y
- _dragBase.Y);
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1433
CreateTool(_mouseDragTool, new Point(de.X, de.
Y
));
System\Windows\Forms\Design\TabControlDesigner.cs (1)
573
Point dropPoint = Control.PointToClient(new Point(de.X, de.
Y
));
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1802
Point offset = new(de.X, de.
Y
);
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (2)
531
Y = e.
Y
574
Y = e.
Y
System.Windows.Forms.Tests (2)
System\Windows\Forms\DragEventArgsTests.cs (2)
29
Assert.Equal(y, e.
Y
);
43
Assert.Equal(y, e.
Y
);
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
867
ListDragTarget.IndexFromPoint(ListDragTarget.PointToClient(new Point(e.X, e.
Y
)));