S
Shannon Broskie
Hello,
I come from the Delphi world which has what is called a TActionList.
In a nutshell, an action list is a way to centralize the response to user
commands (actions). Action list components maintain a list of actions that
are available to the client controls in an application. These actions also
hold the images related to the actions.
I place my relavent code in the action and just assign that action to the
action property on the control (button, menu, popup menu, etc.). I can then
control the action which will in turn affect all controls that have that
action assigned to them. For example, I can disable an action and the menu,
toolbar, and popup menu all reflect that disabled state.
Is there anything in WindowsForms or, at a lower level, the .NET frameworld
that works similarly?
Thanks for you input.
I come from the Delphi world which has what is called a TActionList.
In a nutshell, an action list is a way to centralize the response to user
commands (actions). Action list components maintain a list of actions that
are available to the client controls in an application. These actions also
hold the images related to the actions.
I place my relavent code in the action and just assign that action to the
action property on the control (button, menu, popup menu, etc.). I can then
control the action which will in turn affect all controls that have that
action assigned to them. For example, I can disable an action and the menu,
toolbar, and popup menu all reflect that disabled state.
Is there anything in WindowsForms or, at a lower level, the .NET frameworld
that works similarly?
Thanks for you input.