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);
 }