IPluginRibbonCommandRegisterCommand Method

Register your own commands here like this: int MyCmdID = Parent.UIAction.RegisterID(new PCBI.Plugin.Interfaces.IRegisterItem() { Text = PCB_Investigator.Localization.PCBILocalization.TranslateToCurrentLanguage("CommandName"), MetroStyleIcon = icon, ToolTip = "...", RegisterType = RegisterItemType.BUTTON, GUID = "ID_MY_COMMAND", Category = "PlugIn", EnableOn = Availability.Always });

Definition

Namespace: PCBI.Plugin.Interfaces
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
void RegisterCommand()

See Also