Inheritance: System.Windows.Application
Ejemplo n.º 1
0
        public static void Launch()
        {
            var application = new UpdaterApp {
                ShutdownMode = ShutdownMode.OnMainWindowClose
            };

            application.InitializeComponent();
            application.Run();
        }
Ejemplo n.º 2
0
        static void Initialize()
        {
            AttachConsole(-1);
            CommonBase.AssemblyLoader = new AssemblyLoader(Assembly.GetEntryAssembly());
            // TODO
            ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;

            StartupSequence.PreInit(AppName);
            UpdaterApp.Launch();
            if (Common.OnExit != null)
            {
                Common.OnExit();
            }
        }
Ejemplo n.º 3
0
 public static void Launch() {
     var application = new UpdaterApp {ShutdownMode = ShutdownMode.OnMainWindowClose};
     application.InitializeComponent();
     application.Run();
 }