예제 #1
0
        public void Start()
        {
            if (Started)
            {
                throw new Exception("WebWallpaper already started");
            }
            Started = true;

            renderThread.Start();
            inputThread.Start();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Controller.ShowTrayIcon();

            Logger.Log("Webwallpaper started");

            Application.Run();
        }
예제 #2
0
 public static void Start( )
 {
     InputThread.Start( );
 }