SetToolbarImage() public static method

Helper to add a clickable icon in the toolbar
public static SetToolbarImage ( Bitmap image, int pluginId ) : void
image System.Drawing.Bitmap
pluginId int
return void
Ejemplo n.º 1
0
 /// <summary>
 /// Called when the plugin can set new shorcuts to the toolbar in notepad++
 /// </summary>
 internal static void DoNppNeedToolbarImages()
 {
     Npp.SetToolbarImage(ImageResources.Logo16x16, AppliMenu.MainMenuCommandIndex);
     Npp.SetToolbarImage(ImageResources.FileExplorer16x16, FileExplorer.Instance.DockableCommandIndex);
     Npp.SetToolbarImage(ImageResources.CodeExplorer16x16, CodeExplorer.Instance.DockableCommandIndex);
 }