C# - handling event from parent form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LukasMalik
    New Member
    • Jan 2008
    • 22

    C# - handling event from parent form

    Hi all,

    I have MDI form with lot of child forms. I have toolStrip in MDI parent form with buttons such as new/open/save/delete.

    I have 2 types of child form - detail & viewer. Detail contains focus (new/edit mode) to one item and viewer contains collection (mainly in DataGridView) of items.

    I want to work it this way - if I open child form Employees type of viewer, in toolStrip in MDI parent will display only new / delete / open buttons (parent catching event from child form) and if I press exmpl. button new in toolStrip, it will open new Employee form type of detail.

    I tried hard to explain it, I hope I get any answer.

    Thank you ;-)
Working...