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}"); 655if (_indexOfItemUnderMouseToDrag != ListBox.NoMatches) 712ListDragSource.Items[_indexOfItemUnderMouseToDrag], 718ListDragSource.Items.RemoveAt(_indexOfItemUnderMouseToDrag); 721if (_indexOfItemUnderMouseToDrag > 0) 722ListDragSource.SelectedIndex = _indexOfItemUnderMouseToDrag - 1;