SetLinkClickedEvent() public méthode

Sets the link clicked event for the label
public SetLinkClickedEvent ( Action clickHandler ) : void
clickHandler Action
Résultat void
Exemple #1
0
 /// <summary>
 /// Method to init the tooltip form if needed
 /// </summary>
 public static void InitIfneeded()
 {
     // instanciate the form
     if (_form == null)
     {
         _form = new InfoToolTipForm {
             UnfocusedOpacity = Config.Instance.ToolTipOpacity,
             FocusedOpacity   = Config.Instance.ToolTipOpacity
         };
         _form.Show(Npp.Win32WindowNpp);
         _form.SetLinkClickedEvent(ClickHandler);
     }
 }
Exemple #2
0
 /// <summary>
 /// Method to init the tooltip form if needed
 /// </summary>
 public static void InitIfneeded()
 {
     // instanciate the form
     if (_form == null) {
         _form = new InfoToolTipForm {
             UnfocusedOpacity = Config.Instance.ToolTipOpacity,
             FocusedOpacity = Config.Instance.ToolTipOpacity
         };
         _form.Show(Npp.Win32WindowNpp);
         _form.SetLinkClickedEvent(ClickHandler);
     }
 }