C# Class SettyVsAddin.SettyVsAddinPackageBase

Inheritance: Microsoft.VisualStudio.Shell.Package
显示文件 Open project: paralect/setty

Public Methods

Method Description
SettyVsAddinPackageBase ( ) : System

Default constructor of the package. Inside this method you can place any initialization code that does not require any Visual Studio service because at this point the package object is created but not sited yet inside Visual Studio environment. The place to do all the other initialization is the Initialize method.

Protected Methods

Method Description
Initialize ( ) : void

Initialization of the package; this method is called right after the package is sited, so this is the place where you can put all the initilaization code that rely on services provided by VisualStudio.

ShowMessage ( string message ) : void

This function is the callback used to execute a command when the a menu item is clicked. See the Initialize method to see how the menu item is associated to this function using the OleMenuCommandService service and the MenuCommand class.

btnAddSettyChangeHandler ( object sender, EventArgs e ) : void
btnAddSettyExecuteHandler ( object sender, EventArgs e ) : void
btnAddSettyQueryStatusHandler ( object sender, EventArgs e ) : void

Private Methods

Method Description
ShowToolWindowSettyConfiguration ( object sender, EventArgs e ) : void

This function is called when the user clicks the menu item that shows the tool window. See the Initialize method to see how the menu item is associated to this function using the OleMenuCommandService service and the MenuCommand class.

Method Details

Initialize() protected method

Initialization of the package; this method is called right after the package is sited, so this is the place where you can put all the initilaization code that rely on services provided by VisualStudio.
protected Initialize ( ) : void
return void

SettyVsAddinPackageBase() public method

Default constructor of the package. Inside this method you can place any initialization code that does not require any Visual Studio service because at this point the package object is created but not sited yet inside Visual Studio environment. The place to do all the other initialization is the Initialize method.
public SettyVsAddinPackageBase ( ) : System
return System

ShowMessage() protected method

This function is the callback used to execute a command when the a menu item is clicked. See the Initialize method to see how the menu item is associated to this function using the OleMenuCommandService service and the MenuCommand class.
protected ShowMessage ( string message ) : void
message string
return void

btnAddSettyChangeHandler() protected method

protected btnAddSettyChangeHandler ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnAddSettyExecuteHandler() protected method

protected btnAddSettyExecuteHandler ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnAddSettyQueryStatusHandler() protected method

protected btnAddSettyQueryStatusHandler ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void