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