Пример #1
0
        /// <summary>
        /// Exits the Xwt application.
        /// </summary>
        public static void Exit()
        {
            toolkit.InvokePlatformCode(delegate {
                engine.ExitApplication();
            });

            if (SynchronizationContext.Current is XwtSynchronizationContext)
            {
                XwtSynchronizationContext.Uninstall();
            }
        }
Пример #2
0
 public static void Exit()
 {
     toolkit.InvokePlatformCode(delegate {
         engine.ExitApplication();
     });
 }