dennismagno / metroframework-modern-ui

My humble attempt to bring the new Modern UI alias Metro UI of Windows 8 to .NET Windows Forms applications.
http://dennismagno.github.io/metroframework-modern-ui
Other
861 stars 1.08k forks source link

Unmanaged exception when scrolling MetroGridView with hidden rows #81

Open rdgrsrl opened 5 years ago

rdgrsrl commented 5 years ago

Please try to setup a MetroGridView with multiple rows (so the scrollbar is shown), then programmatically hide the first row and try to scroll using mouse wheel. An uncaught exception will be thrown.

If you choose to continue the execution everything keeps working but, unfortunately, there is no way to wrap this exception.

image

OToussaint commented 4 years ago

See my comment in https://github.com/dennismagno/metroframework-modern-ui/issues/111 You can grab the source with git and compile your own MetroFramework.dll with my correction.