Accessing commands
Commands for an application dictionary are accessed using the Commands property of the form that they are contained in. Most commands in Microsoft Dynamics GP are contained in forms that are used specifically for commands. The names of these forms begin with "Command" and include the module for which the commands are used. For example, to access the command used to open the SmartList window in Microsoft Dynamics GP, you would use the following syntax:
Dynamics.Forms.CommandSystem.Commands.SmartList
Hint: The IntelliSense in Visual Studio will tell you what command in Microsoft Dynamics GP is being referred to by the expression.