C# Class Boo.BooLangStudio.BooLangStudioPackage

Inheritance: Microsoft.VisualStudio.Package.ProjectPackage, IVsInstalledProduct
Show file Open project: jagregory/boolangstudio Class Usage Examples

Public Methods

Method Description
BooLangStudioPackage ( ) : 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.

GetResourceString ( string resourceName ) : string

This method loads a localized string based on the specified resource.

IdBmpSplash ( uint &pIdBmp ) : int

This method is called during Devenv /Setup to get the bitmap to display on the splash screen for this package.

IdIcoLogoForAboutbox ( uint &pIdIco ) : int

This method is called to get the icon that will be displayed in the Help About dialog when this package is selected.

OfficialName ( string &pbstrName ) : int

This methods provides the product official name, it will be displayed in the help about dialog.

ProductDetails ( string &pbstrProductDetails ) : int

This methods provides the product description, it will be displayed in the help about dialog.

ProductID ( string &pbstrPID ) : int

This methods provides the product version, it will be displayed in the help about dialog.

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.

Private Methods

Method Description
OrganizeMembersCallback ( object sender, EventArgs e ) : 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.

Method Details

BooLangStudioPackage() 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 BooLangStudioPackage ( ) : System
return System

GetResourceString() public method

This method loads a localized string based on the specified resource.
public GetResourceString ( string resourceName ) : string
resourceName string Resource to load
return string

IdBmpSplash() public method

This method is called during Devenv /Setup to get the bitmap to display on the splash screen for this package.
public IdBmpSplash ( uint &pIdBmp ) : int
pIdBmp uint The resource id corresponding to the bitmap to display on the splash screen
return int

IdIcoLogoForAboutbox() public method

This method is called to get the icon that will be displayed in the Help About dialog when this package is selected.
public IdIcoLogoForAboutbox ( uint &pIdIco ) : int
pIdIco uint The resource id corresponding to the icon to display on the Help About dialog
return int

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

OfficialName() public method

This methods provides the product official name, it will be displayed in the help about dialog.
public OfficialName ( string &pbstrName ) : int
pbstrName string Out parameter to which to assign the product name
return int

ProductDetails() public method

This methods provides the product description, it will be displayed in the help about dialog.
public ProductDetails ( string &pbstrProductDetails ) : int
pbstrProductDetails string Out parameter to which to assign the description of the package
return int

ProductID() public method

This methods provides the product version, it will be displayed in the help about dialog.
public ProductID ( string &pbstrPID ) : int
pbstrPID string Out parameter to which to assign the version number
return int