WinCompose.Updater.Init C# (CSharp) Method

Init() public static method

public static Init ( ) : void
return void
    public static void Init()
    {
        m_thread = new Thread(() => { Updater.Run(); });
        m_thread.Start();
    }

Usage Example

Example #1
0
        static void Main()
        {
            // Do this before Composer.Init() because of the Disabled setting
            Settings.LoadConfig();

            Composer.Init();
            Settings.LoadSequences();
            KeyboardHook.Init();
            Updater.Init();

            Settings.StartWatchConfigFile();

            try
            {
                var app  = new Application();
                var icon = new SysTrayIcon();
                app.Exit += (o, e) => icon.Dispose();
                app.Run();
            }
            finally
            {
                Settings.StopWatchConfigFile();
                Updater.Fini();
                KeyboardHook.Fini();
                Settings.SaveConfig();
                Composer.Fini();
                Updater.Fini();
            }
        }
All Usage Examples Of WinCompose.Updater::Init