Esempio n. 1
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     //throw new Exception( );
     Dispatcher.BeginInvoke((Action) delegate()
     {
         try
         {
             BrowserCore.Navigate(FileApi.GetStartupPath(App.Program.arguments.isNew));
         }
         catch (Exception ex)
         {
             Logger.Log(ex, logType: LogType.Debug, shutWhenFail: true);
         }
     });
 }