improved the highlight feature. I am not updating the highlight during cell paint anymore. Instead, the cell colors are re-calculated when a row is added/removed, or when the datagridview is sorted.