Inheritance: YamuiFramework.Forms.YamuiForm
Ejemplo n.º 1
0
 /// <summary>
 /// Initializes the main application, since other windows uses this Form reference,
 /// it must be called pretty soon in the plugin initialization
 /// </summary>
 public static void Init()
 {
     ForceClose();
     _form = new AppliForm {
         CurrentForegroundWindow = Npp.Handle
     };
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes the main application, since other windows uses this Form reference,
 /// it must be called pretty soon in the plugin initialization
 /// </summary>
 public static void Init()
 {
     if (_form != null)
     {
         ForceClose();
     }
     _form = new AppliForm {
         CurrentForegroundWindow = Npp.HandleNpp
     };
 }
Ejemplo n.º 3
0
Archivo: Appli.cs Proyecto: 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);
     }
 }
Ejemplo n.º 4
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);
     }
 }
Ejemplo n.º 5
0
Archivo: Appli.cs Proyecto: jcaillon/3P
 /// <summary>
 /// Initializes the main application, since other windows uses this Form reference, 
 /// it must be called pretty soon in the plugin initialization
 /// </summary>
 public static void Init()
 {
     if (_form != null) ForceClose();
     _form = new AppliForm {
         CurrentForegroundWindow = Npp.HandleNpp
     };
 }