상속: YamuiFramework.Forms.YamuiForm
예제 #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
     };
 }
예제 #2
0
파일: Appli.cs 프로젝트: devjerome/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
     };
 }
예제 #3
0
파일: Appli.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);
     }
 }
예제 #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);
     }
 }
예제 #5
0
파일: Appli.cs 프로젝트: 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
     };
 }