How to determine when the user control is fully loaded and shown?

后端 未结 3 397
一向
一向 2020-12-16 02:13

There were already a few similar questions on stackoverflow, but I haven\'t found the answer

I have an application that consists of several tab pages. On one of them

3条回答
  •  青春惊慌失措
    2020-12-16 03:02

    Take a look at my solution offered to another. They had a very similar issue. Wait until EVERYTHING finished its loading before doing a certain action, but not every time a form necessarily became "activated" or "shown". It involves attaching to the Load handler of your outermost control of interest. In your case, the tabbed page, but the example solution I provided was at the FORM level.

提交回复
热议问题