Search code examples
c#winformsevents

Triggering an event after a Winform layout is complete


I am working on a C# WinForm application.

I want to trigger some processing once the form has been "shown" and the layout of the form is complete.

I am using the "_Shown" event, but this seems to trigger before the layout of the form has completed. Is there event I can use that fires once the layout is complete?


Solution

  • I don't see an event after Shown you can use for this purpose. Could you not use a timer to delay your processing in the Shown event?