InterfacePCBIWindowSetRibbonMenu Method
Set your own menu to PCB-Investigator, the xml file must be placed as memory stream.
Namespace: PCBI.Automation.InterfacesAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
void SetRibbonMenu(
MemoryStream ribbonDAT,
ContextMenuStrip contextMenuStripGraphicPane = null,
ContextMenuStrip contextMenuStripLayerList = null,
bool removeTabControlWithoutMap = false
)
Sub SetRibbonMenu (
ribbonDAT As MemoryStream,
Optional contextMenuStripGraphicPane As ContextMenuStrip = Nothing,
Optional contextMenuStripLayerList As ContextMenuStrip = Nothing,
Optional removeTabControlWithoutMap As Boolean = false
)
void SetRibbonMenu(
MemoryStream^ ribbonDAT,
ContextMenuStrip^ contextMenuStripGraphicPane = nullptr,
ContextMenuStrip^ contextMenuStripLayerList = nullptr,
bool removeTabControlWithoutMap = false
)
abstract SetRibbonMenu :
ribbonDAT : MemoryStream *
?contextMenuStripGraphicPane : ContextMenuStrip *
?contextMenuStripLayerList : ContextMenuStrip *
?removeTabControlWithoutMap : bool
(* Defaults:
let _contextMenuStripGraphicPane = defaultArg contextMenuStripGraphicPane null
let _contextMenuStripLayerList = defaultArg contextMenuStripLayerList null
let _removeTabControlWithoutMap = defaultArg removeTabControlWithoutMap false
*)
-> unit
Parameters
- ribbonDAT MemoryStream
-
- contextMenuStripGraphicPane ContextMenuStrip (Optional)
-
- contextMenuStripLayerList ContextMenuStrip (Optional)
-
- removeTabControlWithoutMap Boolean (Optional)
-