C# Class MyAddin5.Connect

Inheritance: Object, Extensibility.IDTExtensibility2
显示文件 Open project: SiteView/ECC8.13

Public Methods

Method Description
Connect ( ) : System

Implements the constructor for the Add-in object. Place your initialization code within this method.

OnAddInsUpdate ( System &custom ) : void

Implements the OnAddInsUpdate method of the IDTExtensibility2 interface. Receives notification that the collection of Add-ins has changed.

OnBeginShutdown ( System &custom ) : void

Implements the OnBeginShutdown method of the IDTExtensibility2 interface. Receives notification that the host application is being unloaded.

OnConnection ( object application, Extensibility connectMode, object addInInst, System &custom ) : void

Implements the OnConnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being loaded.

OnDisconnection ( Extensibility disconnectMode, System &custom ) : void

Implements the OnDisconnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being unloaded.

OnStartupComplete ( System &custom ) : void

Implements the OnStartupComplete method of the IDTExtensibility2 interface. Receives notification that the host application has completed loading.

SendVdxFile_DoWork ( object sender, System e ) : void
SendVdxFile_RunWorkerCompleted ( object sender, System e ) : void

Private Methods

Method Description
AddToolBarButton ( ) : void
MyButton1_Click ( System.Windows.Forms.CommandBarButton cmdBarbutton, bool &cancel ) : void
MyButton_Click ( System.Windows.Forms.CommandBarButton cmdBarbutton, bool &cancel ) : void

Method Details

Connect() public method

Implements the constructor for the Add-in object. Place your initialization code within this method.
public Connect ( ) : System
return System

OnAddInsUpdate() public method

Implements the OnAddInsUpdate method of the IDTExtensibility2 interface. Receives notification that the collection of Add-ins has changed.
public OnAddInsUpdate ( System &custom ) : void
custom System
return void

OnBeginShutdown() public method

Implements the OnBeginShutdown method of the IDTExtensibility2 interface. Receives notification that the host application is being unloaded.
public OnBeginShutdown ( System &custom ) : void
custom System
return void

OnConnection() public method

Implements the OnConnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being loaded.
public OnConnection ( object application, Extensibility connectMode, object addInInst, System &custom ) : void
application object
connectMode Extensibility
addInInst object
custom System
return void

OnDisconnection() public method

Implements the OnDisconnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being unloaded.
public OnDisconnection ( Extensibility disconnectMode, System &custom ) : void
disconnectMode Extensibility
custom System
return void

OnStartupComplete() public method

Implements the OnStartupComplete method of the IDTExtensibility2 interface. Receives notification that the host application has completed loading.
public OnStartupComplete ( System &custom ) : void
custom System
return void

SendVdxFile_DoWork() public method

public SendVdxFile_DoWork ( object sender, System e ) : void
sender object
e System
return void

SendVdxFile_RunWorkerCompleted() public method

public SendVdxFile_RunWorkerCompleted ( object sender, System e ) : void
sender object
e System
return void