Inheritance: System.Windows.Application
Exemplo n.º 1
0
 public static void Main()
 {
     try
     {
         program p = new program();
         p.StartupUri = new System.Uri("main_window.xaml", System.UriKind.Relative);
         p.Run();
     }
     catch (Exception ex)
     {
         log.WriteErrorLog(ex);
         MessageBox.Show("Sorry! The program needs to be restarted.");
     }
 }