471,350 Members | 1,265 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Delegate / Fulti-User Control Question

Hi,

I have a form (Form1) that contains a tab control which one tab has a
customer user control (UserControl1). When the user double-clicks on the
grid hosted there a new user control is created. I have a delegate / event
that passes via EventArgs the appropriate info from the grid to the
UserControl2. This works fine, except for now I'm a little lost on the
final step....I need that once the UserControl2 is "filled out" that it is
then added (and then dispose of it) to the tab control being hosted on
Form1.

I hope this isn't that confusing, but I'm not sure if I need to have a
property that is set on Form1, or a static method on Form1 that takes
UserControl2 as a type and addes it. I just need a little guidance / help.
Thanks in advance.

Doug
Jan 19 '06 #1
0 843

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Ant | last post: by
11 posts views Thread by matsi.inc | last post: by
26 posts views Thread by raylopez99 | last post: by
10 posts views Thread by vcquestions | 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.