1 write to _indexOfItemUnderMouseToDrag
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
650
_indexOfItemUnderMouseToDrag
= ListDragSource.IndexFromPoint(e.X, e.Y);
6 references to _indexOfItemUnderMouseToDrag
System.Windows.Forms.UI.IntegrationTests (6)
DragDropTests.cs (6)
651
_testOutputHelper.WriteLine($"Mouse down on drag source at position ({e.X},{e.Y}). Index of element under mouse: {
_indexOfItemUnderMouseToDrag
}");
653
if (
_indexOfItemUnderMouseToDrag
!= ListBox.NoMatches)
710
ListDragSource.Items[
_indexOfItemUnderMouseToDrag
],
716
ListDragSource.Items.RemoveAt(
_indexOfItemUnderMouseToDrag
);
719
if (
_indexOfItemUnderMouseToDrag
> 0)
720
ListDragSource.SelectedIndex =
_indexOfItemUnderMouseToDrag
- 1;