Пример #1
0
 void TestAudioSystem()
 {
     try
     {
         LaunchProgram.TestAll();
     }
     catch (Exception)
     {
         if (Debugger.IsAttached)
         {
             // An unhandled exception has occurred; break into the debugger
             Debugger.Break();
         }
         throw;
     }
 }
Пример #2
0
 /// <summary>
 /// Invoked when this page is about to be displayed in a Frame.
 /// </summary>
 /// <param name="e">Event data that describes how this page was reached.  The Parameter
 /// property is typically used to configure the page.</param>
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     LaunchProgram.TestAll();
 }