Pattern to enable and disable menus

 
275   99.7
Jul 20, 2010
 
Which pattern can I use to implement the enabling and disabling the menus of MDI in windows application?
Thanks in advance.



128   96.7
Jul 20, 2010
Hi Imran:

With enabling and disabling menus the Command Pattern comes to mind.

However, if you are familiar with Design Patterns and none of these seem immediately relevant, I would suggest you start coding (the best you can), and then (while coding) see if you run into scenarios where a pattern seems applicable.

My 2 cents.