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}"); 653if (_indexOfItemUnderMouseToDrag != ListBox.NoMatches) 710ListDragSource.Items[_indexOfItemUnderMouseToDrag], 716ListDragSource.Items.RemoveAt(_indexOfItemUnderMouseToDrag); 719if (_indexOfItemUnderMouseToDrag > 0) 720ListDragSource.SelectedIndex = _indexOfItemUnderMouseToDrag - 1;