How do I show a “Loading . . . please wait” message in Winforms for a long loading form?

前端 未结 12 615
一生所求
一生所求 2020-12-04 17:29

I have a form that is very slow because there are many controls placed on the form.

As a result the form takes a long time to loaded.

How do I load the fo

12条回答
  •  [愿得一人]
    2020-12-04 18:22

    You should create a background thread to to create and populate the form. This will allow your foreground thread to show the loading message.

提交回复
热议问题