public static void Init()
 {
     if (AppStabilizer.Instance is null)
     {
         AppStabilizer.Instance = new AppStabilizer();
     }
 }
Exemple #2
0
 /// <summary>
 /// Init new DFDev class.
 /// </summary>
 /// <param name="name">Name of this class.</param>
 /// <param name="classname">Name of main class.</param>
 protected DFDevelop(string name, string classname)
 {
     AppStabilizer.Start       += AppStabilizer_Start;
     AppStabilizer.Exit        += AppStabilizer_Exit;
     AppStabilizer.UnException += AppStabilizer_UnException;
     Name = name;
     CClass.CheckCreateAdd(this, $"{classname}");
     AppStabilizer.Init();
 }