示例#1
0
 private void Application_Startup(object sender, StartupEventArgs e)
 {
     // Initialize the bridge to JavaScript and, when done, launch the application's main page.
     SilverlightBridge.Initialize(
         true,   // SECURITY:  true if we trust the JavaScript engine to call back into the
                 //            Silverlight runtime
         false   // DEBUGGING: true if we wish to capture all communication between the Silverlight and
                 //            JavaScript engines in any exception.
         );
     TimeFliesLikeADoughnutPage.Run();
 }
示例#2
0
 private void Application_Startup(object sender, StartupEventArgs e)
 {
     SilverlightBridge.Initialize(true, true);
     Ribbon.Run();
 }