InterfacePCBIWindowSetRibbonMenu Method

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

Definition

Namespace: PCBI.Automation.Interfaces
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
void SetRibbonMenu(
	MemoryStream ribbonDAT,
	ContextMenuStrip contextMenuStripGraphicPane = null,
	ContextMenuStrip contextMenuStripLayerList = null,
	bool removeTabControlWithoutMap = false
)

Parameters

ribbonDAT  MemoryStream
 
contextMenuStripGraphicPane  ContextMenuStrip  (Optional)
 
contextMenuStripLayerList  ContextMenuStrip  (Optional)
 
removeTabControlWithoutMap  Boolean  (Optional)
 

See Also