C# Class Treefrog.Windows.Controllers.CommandMenuBuilder

Afficher le fichier Open project: jaquadro/Treefrog

Méthodes publiques

Méthode Description
BuildContextMenu ( CommandMenu menu ) : ContextMenuStrip
BuildContextMenu ( CommandMenu menu, CommandRegistry registry ) : ContextMenuStrip
BuildToolStripMenu ( CommandMenu menu ) : ToolStripMenuItem
BuildToolStripMenu ( CommandMenu menu, CommandRegistry registry ) : ToolStripMenuItem

Private Methods

Méthode Description
PopulateItems ( ToolStripItemCollection items, IEnumerable groups, CommandRegistry registry ) : void

Method Details

BuildContextMenu() public static méthode

public static BuildContextMenu ( CommandMenu menu ) : ContextMenuStrip
menu CommandMenu
Résultat System.Windows.Forms.ContextMenuStrip

BuildContextMenu() public static méthode

public static BuildContextMenu ( CommandMenu menu, CommandRegistry registry ) : ContextMenuStrip
menu CommandMenu
registry CommandRegistry
Résultat System.Windows.Forms.ContextMenuStrip

BuildToolStripMenu() public static méthode

public static BuildToolStripMenu ( CommandMenu menu ) : ToolStripMenuItem
menu CommandMenu
Résultat System.Windows.Forms.ToolStripMenuItem

BuildToolStripMenu() public static méthode

public static BuildToolStripMenu ( CommandMenu menu, CommandRegistry registry ) : ToolStripMenuItem
menu CommandMenu
registry CommandRegistry
Résultat System.Windows.Forms.ToolStripMenuItem