Discovery Gaming Community

Full Version: Exception while scrolling account list
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Steps to reproduce:
1. Go to the My Accounts tab.
2. Enter something in the Search textbox, so that at least one row gets filtered out.
3. Scroll either with the scroll bar or the mouse wheel. The program will throw an exception.
(Scrolling with the arrow keys or Page Up/Page Down doesn't cause it.)

Code:
************** Exception Text **************
System.InvalidOperationException: FirstDisplayedScrollingRowIndex property cannot be set to an invisible row.
at System.Windows.Forms.DataGridView.set_FirstDisplayedScrollingRowIndex(Int32 value)
at MetroFramework.Controls.MetroGrid.OnMouseWheel(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseWheel(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.DataGridView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
found a fix for this, it will be added in the next launcher update.