C# Class Boo.BooLangStudio.BooLangStudioPackage

Inheritance: Microsoft.VisualStudio.Package.ProjectPackage, IVsInstalledProduct
Afficher le fichier Open project: jagregory/boolangstudio Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode 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 méthode

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
Résultat System

GetResourceString() public méthode

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

IdBmpSplash() public méthode

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
Résultat int

IdIcoLogoForAboutbox() public méthode

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
Résultat int

Initialize() protected méthode

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
Résultat void

OfficialName() public méthode

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
Résultat int

ProductDetails() public méthode

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
Résultat int

ProductID() public méthode

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
Résultat int