Inheritance: NppInterfaceForm.NppInterfaceForm
コード例 #1
0
 /// <summary>
 /// Forces the form to close, only when leaving npp
 /// </summary>
 public static void ForceClose()
 {
     try {
         if (_form != null)
         {
             _form.ForceClose();
         }
         _form = null;
     } catch (Exception e) {
         ErrorHandler.LogError(e);
     }
 }
コード例 #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);
     }
 }
コード例 #3
0
ファイル: InfoToolTip.cs プロジェクト: jcaillon/3P
 /// <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);
     }
 }
コード例 #4
0
ファイル: InfoToolTip.cs プロジェクト: jcaillon/3P
 /// <summary>
 /// Forces the form to close, only when leaving npp
 /// </summary>
 public static void ForceClose()
 {
     try {
         if (_form != null)
             _form.ForceClose();
         _form = null;
     } catch (Exception e) {
         ErrorHandler.LogError(e);
     }
 }