IPCBIWindowSetRibbonMenu Method

Set your own menu to PCB-Investigator, the xml file must be placed as memory stream.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public void SetRibbonMenu(
	MemoryStream RibbonDAT,
	ContextMenuStrip ContextMenuStripGraphicPane = null,
	ContextMenuStrip ContextMenuStripLayerList = null,
	bool RemoveTabControlWithoutMap = false
)

Parameters

RibbonDAT  MemoryStream
Memory Stream with xml setting of new menu.
ContextMenuStripGraphicPane  ContextMenuStrip  (Optional)
ContextMenuStripLayerList  ContextMenuStrip  (Optional)
Context Menu for Layer List.
RemoveTabControlWithoutMap  Boolean  (Optional)
Remove info area controls without map view?

Implements

InterfacePCBIWindowSetRibbonMenu(MemoryStream, ContextMenuStrip, ContextMenuStrip, Boolean)

See Also