How to improve the loading time of winform?

前端 未结 4 815
太阳男子
太阳男子 2021-02-08 15:30

I have a WinForms application. the main form is has a lot of controls and that is one of the reasons that makes it load very slow. what I would like to do is to make the form lo

4条回答
  •  执笔经年
    2021-02-08 15:59

    When a form loads it initializes all its controls.
    The Form itself isn't taking you a long time.. It's your controls.

    Go over your controls and check what can be improved in their constructors and initializers.

提交回复
热议问题