IPCBIWindowSetRibbonMenu Method
Set your own menu to PCB-Investigator, the xml file must be placed as memory stream.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public void SetRibbonMenu(
MemoryStream RibbonDAT,
ContextMenuStrip ContextMenuStripGraphicPane = null,
ContextMenuStrip ContextMenuStripLayerList = null,
bool RemoveTabControlWithoutMap = false
)
Public Sub SetRibbonMenu (
RibbonDAT As MemoryStream,
Optional ContextMenuStripGraphicPane As ContextMenuStrip = Nothing,
Optional ContextMenuStripLayerList As ContextMenuStrip = Nothing,
Optional RemoveTabControlWithoutMap As Boolean = false
)
public:
virtual void SetRibbonMenu(
MemoryStream^ RibbonDAT,
ContextMenuStrip^ ContextMenuStripGraphicPane = nullptr,
ContextMenuStrip^ ContextMenuStripLayerList = nullptr,
bool RemoveTabControlWithoutMap = false
) sealed
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
override 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
- 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?
InterfacePCBIWindowSetRibbonMenu(MemoryStream, ContextMenuStrip, ContextMenuStrip, Boolean)