I'm writing an UI with WinForms and need to know, when a System.Windows.Forms.Control of any kind is loaded. Is there any event which is thrown after a is loaded?
Thanks
Manuel Bauer
Manuel Bauer Wednesday, May 02, 2007 11:37 AM
Control class which is ultimately the base class of every Control doesnot expose such event but you can use HandleCreated event instead.
I hope this will help.
Best Regards,
Rizwan aka RizwanSharp
RizwanSharp Wednesday, May 02, 2007 6:51 PM
I took a look in the Form Events and I found the "Form Shown" event that occurs whenever the form is first displayed...
See if this works
Cheers
celobateira Wednesday, May 02, 2007 11:46 AM
Control class which is ultimately the base class of every Control doesnot expose such event but you can use HandleCreated event instead.
I hope this will help.
Best Regards,
Rizwan aka RizwanSharp
RizwanSharp Wednesday, May 02, 2007 6:51 PM
Hi
Thank you for your answer. The HandleCreated event did help.