Command Manager

Introduction ››
Parent Previous Next

CommandManager

CommandManager - A WinForms component that determines whether an application is idle and updates the User Interface (UI), enabling , disabling and displaying user interface controls as needed using a list of commands. CommandManager use an Update Handler and a Exceution Handler.

When the Application UI changes is is pickupd up by the Update Handler to enable/disable/ hide/show/ check/uncheck the controls being managed. The Execution handler for one or more controls allows one single method to be executed by many different controls without the use of control event handlers ( such as onclick ). See Sample Code for a basic example

CommandManager inherits from Application Idle and threfore does not rely on Windows Forms Idle evernt.