Example #1
0
        //Application Startup
        public async Task Application_Startup()
        {
            try
            {
                //Initialize application
                await Application_LaunchCheck("Arnold Vink Tools", "ArnoldVinkTools", ProcessPriorityClass.Normal, false);

                //Create the tray menu
                Application_CreateTrayMenu();

                //Check application settings
                Settings_Check();
                Settings_Load();
                Settings_Save();

                //Load help text
                Help_Load();

                //Whitelist supported windows store apps
                WhitelistApps();

                //Start the background tasks
                TasksBackgroundStart();

                //Enable the socket server
                await EnableSocketServer();

                //Check for available application update
                await AppUpdate.CheckForAppUpdate(true);
            }
            catch { }
        }
Example #2
0
 //Check for application update
 private async void btn_CheckVersion_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         await AppUpdate.CheckForAppUpdate(false);
     }
     catch { }
 }