copying code of event of user control automatically

  • Thread starter Thread starter manojrane2000
  • Start date Start date
M

manojrane2000

hi,
how can i copy code of event of usercontrol in form on which it is
placed automatically. whenever control is dragged to the form.
 
hi,
how can i copy code of event of usercontrol in form on which it is
placed automatically. whenever control is dragged to the form.

Why would you want to do this? If you want the code to run whenever the
event is fired, handle it in the usercontrol before firing the event.

Chris
 
hi chris
thanx for reply

actually what we want to do is whenever user drag control on some form
he can edit code of event. he can place message to display on firing. so
we need code of event editable
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top