Super slow C# custom control

后端 未结 7 691
猫巷女王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:43

    You'll have to post some of the layout code or we won't be able to help much/at all.

    Also, your #1 best bet is to profile your code. Profiling is the only surefire way to find out what exactly is performing slowly in your code. In my experience, this is especially true of UI code.

提交回复
热议问题