Use Design Patterns to Simplify the Relationship Between Menus and Form Elements in .NET
In Windows Forms applications, similar commands, such as those in a menu and their counterparts on a toolbar, are not automatically related. They don't fire the same event or run the same handler routine. Yet code that allows the same or similar user commands to fire the same code simplifies development.
This article describes the principles of command management and why it's important to have functional commands that are not exclusive to any one UI element. In order to provide an MFC-like command management infrastructure, a design pattern is developed and applied as a series of C# classes.
Read the full article
Posted 03/02/06 by Kickaha | Filed under: References
Comments
Add Comment