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