ComponentOne Menus and Toolbars for WinForms
CommandHolderByForm Method

C1.Win.C1Command.4 Assembly > C1.Win.C1Command Namespace > C1CommandHolder Class : CommandHolderByForm Method
Form whose command holder is returned.
Returns the command holder for the specified form, if it exists.
Syntax
'Declaration
 
Public Shared Function CommandHolderByForm( _
   ByVal form As System.Windows.Forms.Control _
) As C1CommandHolder
public static C1CommandHolder CommandHolderByForm( 
   System.Windows.Forms.Control form
)

Parameters

form
Form whose command holder is returned.

Return Value

The command holder for the specified form, or null.
See Also

Reference

C1CommandHolder Class
C1CommandHolder Members