private void button_start_Click(object sender, EventArgs e)
        {
            WallPaperConfigurationValues config = new WallPaperConfigurationValues();

            config.intervall_in_seconds = this.ChangeIntervallinSeconds;
            if (leftScreen_static == false)
            {
                config.leftScreenStatic      = false;
                config.leftScreenImageSource = this.lefttScreen_FolderPath;
            }
            else
            {
                config.leftScreenStatic      = true;
                config.leftScreenImageSource = this.lefttScreen_staticPath;
            }
            if (rightScreen_static == false)
            {
                config.rightScreenStatic      = false;
                config.rightScreenImageSource = this.rightScreen_FolderPath;
            }
            else
            {
                config.rightScreenStatic      = true;
                config.rightScreenImageSource = this.rightScreen_staticPath;
            }
            config.x_resolution_left_screen  = this.leftScreen_XRes;
            config.x_resolution_right_screen = this.rightScreen_XRes;
            config.y_resolution_left_screen  = this.leftScreen_YRes;
            config.y_resolution_right_screen = this.rightScreen_YRes;



            this.wallpapermanager = new WallPaperManager(config);
            this.wallpapermanager.startTimer();
        }
 private void button_stop_Click(object sender, EventArgs e)
 {
     if (this.wallpapermanager != null)
     {
         this.wallpapermanager.stopTimer();
         this.wallpapermanager = null;
     }
 }
        static void Main(string[] args)
        {
            Tester.testImageProcessor();

            /*Hide the console window*/
            var handle = GetConsoleWindow();

            // Hide
            ShowWindow(handle, SW_HIDE);

            // Show
            //ShowWindow(handle, SW_SHOW);

            // start wallpaper manager
            WallPaperManager wpm = new WallPaperManager();

            Console.ReadKey();
        }