C# Class Hosting.MenuCommandService

Inheritance: IMenuCommandService
Show file Open project: smartmobili/CocoaBuilder

Public Methods

Method Description
AddCommand ( System command ) : void
AddVerb ( System verb ) : void
FindCommand ( System commandID ) : MenuCommand
GlobalInvoke ( System commandID ) : bool
MenuCommandService ( ) : System
RemoveCommand ( System command ) : void
RemoveVerb ( System verb ) : void
ShowContextMenu ( System menuID, int x, int y ) : void

Method Details

AddCommand() public method

public AddCommand ( System command ) : void
command System
return void

AddVerb() public method

public AddVerb ( System verb ) : void
verb System
return void

FindCommand() public method

public FindCommand ( System commandID ) : MenuCommand
commandID System
return System.ComponentModel.Design.MenuCommand

GlobalInvoke() public method

public GlobalInvoke ( System commandID ) : bool
commandID System
return bool

MenuCommandService() public method

public MenuCommandService ( ) : System
return System

RemoveCommand() public method

public RemoveCommand ( System command ) : void
command System
return void

RemoveVerb() public method

public RemoveVerb ( System verb ) : void
verb System
return void

ShowContextMenu() public method

public ShowContextMenu ( System menuID, int x, int y ) : void
menuID System
x int
y int
return void