Exemple #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="args"></param>
 static void Main(string[] args)
 {
     var app = new App();
     var window = new MainWindow();
     window.Show();
     app.Run(window);
 }
Exemple #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="args"></param>
 static void Main(string[] args)
 {
     try
     {
         var app = new App();
         var window = new MainWindow();
         window.Show();
         app.Run(window);
     }
     catch (Exception ex)
     {
         System.Diagnostics.Debug.Print(ex.Message);
         System.Diagnostics.Debug.Print(ex.StackTrace);
     }
 }