Super slow C# custom control

后端 未结 7 718
猫巷女王i
猫巷女王i 2020-12-21 16:32

I\'ve made a custom control, it\'s a FlowLayoutPanel, into which I put a bunch of other custom controls (just Buttons, each with three Labels and a PictureBox overlayed)

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-21 16:49

    At 1000+ buttons your probably running perilously low on GDI resources and/or raw handles for your application.

    Not sure what your application is supposed to do but a grid or a combo box may be the better option here.

提交回复
热议问题