this blog contains information for .net and sql stuffs. You can find various tips and tricks to overcome problem you may be facing in ...

Monday, August 31, 2009

Windows User Control Load Event

H! All If you try to get Load event of Your windows User control you will surprised that you have no Load Event for The Control..

If you want to do something at the load of control then you all need to do is as follows...

Go to the Form where you have loaded your User Control. Click on to the User Control and see the events supported by it.

In the instance of this User Control you will find the LOAD event now write down your code at the event of it.

you can also access the control of your User Control by name instance name of User Control.

No comments: