multiple forms/common menu structure

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have project where I need multiple forms using a common menu structure
(like a web solution but with WinForms). Is there a best way to do it? I'm
currently trying inherited forms, but I'm not sure that's the best way as it
seems to present challenges.
 
What sort of challenges?

If one has a set of forms that all use the same menu (same menu items
invoking the same functionality) then a base form containing that menu
from which all the others are inherited is a good way to go.

As one tries to individualize the separate sub-forms' menu then things
become messier.

Adding menu items is easy enough using menu merge.
Removing is more complicated but can be done using overridable methods
but is fragile.

If describe what you are trying to achieve then perhaps people can
offer some concrete suggestions.

hth,
Alan.
 
Thank you for your helpful reply, Alan!

I have a request for a web look and feel like MS Money, but the app needs to
be in a winform rather than running from IIS services. Because I don't really
know any other way to do it, I've set up a menu structure based on inheritted
forms with a tree-view on the left and data on the right. In general I'm not
sure the best way to access the objects on the main form from the subforms.
The sub-form does not contain the tree-view. I'm not quite sure how to
run the tree-view from the inherited forms, etc.. Any ideas?

Thanks!

Jeffrey
 
Back
Top