471,306 Members | 1,291 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 software developers and data experts.

hoe can access runtime's form user'controls

hi

At Runtime i add a Form in designing time panel Control. on that form i add
couple of user controls.

i want to comuncated each of usercontrol's on my Form which is execute on
Runtime
mean's i want to call diffrant Event's of each user control

all work is on Windows' C# 2003

replay me (ys******@yahoo.com)
Nov 29 '05 #1
1 1372
Mian,

Are you looking to attach event handlers to the controls you are adding
to the form, or are you looking to fire the events? If you are looking to
attach event handlers, you simply have to do it like you would any other
events that are fired from a class.

However, if you are looking to fire the events on the controls, you
can't do that. You can only fire events from within the control itself (or
rather, the class they are declared in).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Mian Mahboob" <ys******@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
hi

At Runtime i add a Form in designing time panel Control. on that form i
add couple of user controls.

i want to comuncated each of usercontrol's on my Form which is execute on
Runtime
mean's i want to call diffrant Event's of each user control

all work is on Windows' C# 2003

replay me (ys******@yahoo.com)

Nov 29 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Davíđ Ţórisson | last post: by
1 post views Thread by Giorgio | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.