Пример #1
0
 static void Main(string[] args)
 {
     using (var app = new BaseApplication(args, null))
     {
         Application.EnableVisualStyles();
         Application.SetCompatibleTextRenderingDefault(false);
         Application.Run(new Shell());
     }
 }
Пример #2
0
 /// <summary>
 /// Destroys application effectively finalizing all services
 /// </summary>
 public static void Destroy()
 {
     Instance.Dispose();
     s_Instance = null;
 }
Пример #3
0
 /// <summary>
 /// Destroys application effectively finalizing all services
 /// </summary>
 public static void Destroy()
 {
   Instance.Dispose();
   s_Instance = null;
 }