PCBIConnection Class

Definition

Namespace: metroStyle
Assembly: PCBI_MetroStyleMenu (in PCBI_MetroStyleMenu.dll) Version: 17.0.0.0 (17.0.0.0)
C#
public class PCBIConnection : IPluginRibbonCommand, 
	IPlugin, IPluginMessageReceiver, IDisposable
Inheritance
Object    PCBIConnection
Implements
IPlugin, IPluginMessageReceiver, IPluginRibbonCommand, IDisposable

Constructors

PCBIConnectionInitializes a new instance of the PCBIConnection class

Properties

Methods

DisposeReleases all resources used by the PCBIConnection
InitEvents 
IsActionAllowed 
ReceiveMessage 

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