C# Class Treefrog.Windows.Controllers.CommandRegistry

显示文件 Open project: jaquadro/Treefrog Class Usage Examples

Public Methods

Method Description
Lookup ( CommandKey key ) : CommandRecord
Register ( CommandRecord inst ) : void

Private Methods

Method Description
CommandRegistry ( ) : System.Collections.Generic
Register ( CommandKey key, string displayName, Image resource = null, Keys shortcut = Keys.None, string description = null, string shortcutDisplay = null ) : void

Method Details

Lookup() public method

public Lookup ( CommandKey key ) : CommandRecord
key Treefrog.Presentation.Commands.CommandKey
return CommandRecord

Register() public method

public Register ( CommandRecord inst ) : void
inst CommandRecord
return void