PlugInToolBarConnection Class

Definition

Namespace: PCBI_InstanceSync
Assembly: PCBI_InstanceSync (in PCBI_InstanceSync.dll) Version: 16.0.0.0 (16.0.0.0)
C#
public class PlugInToolBarConnection : IPluginRibbonCommand, 
	IPlugin, IDisposable
Inheritance
Object    PlugInToolBarConnection
Implements
IPlugin, IPluginRibbonCommand, IDisposable

Constructors

PlugInToolBarConnectionInitializes a new instance of the PlugInToolBarConnection class

Properties

Methods

DisposeReleases all resources used by the PlugInToolBarConnection
InitEvents This method is called from the PCB-I after adding the PlugIn.
IsActionAllowed The PCB-I checks for existing of the id to execute actions or key-combination.

Fields

Extension Methods

Explicit Interface Implementations

IPluginRibbonCommandOnCommandExecute Will be called with each command to execute.
IPluginRibbonCommandRegisterCommand 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 });

See Also