Delegate / Fulti-User Control Question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Doug Handler

    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


Working...