SetToolbarImage() публичный статический Метод

Helper to add a clickable icon in the toolbar
public static SetToolbarImage ( Bitmap image, int pluginId ) : void
image System.Drawing.Bitmap
pluginId int
Результат void
Пример #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);
 }