|
-
Mar 16th, 2014, 01:27 AM
#2
Re: Events in controls added during runtime
The method that handles an event looks the same regardless of whether the control is added at design time or run time. The only difference is that it won't have a Handles clause if you're using it for run time-added controls. Look at your CheckedChanged event handler to see the Handles clause. For a control added at run time, use an AddHandler statement to register the method as a handler for an event.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|