Rendering a generated table with TableLayoutPanel taking too long to finish

前端 未结 2 605
余生分开走
余生分开走 2021-01-27 17:17

My program is pretty straight forward in concept - it allows a user to take scores during bowling tournaments, as well as showing the players the scores through a scoreboard.

2条回答
  •  花落未央
    2021-01-27 17:56

    Well, the CellPaint event was the culprit. I was able to achieve what I wanted by negating the CellPaint event, and instead manipulating the controls in the panel so as to have the right background colors as well as size so they fill the grid.

    Thank you for all your comments - they were very helpful. As per HighCore's comment, I will now be looking into WPF and I might be able to get something even slicker.

提交回复
热议问题