private void OnHotKeyHandler1(HotKey obj)
        {
            CustomScreen screen = new CustomScreen();
            Thread t = new Thread(new ThreadStart(() =>
            {
                //byte originalBrightness = CustomScreen.GetCurBrightness();
                //CustomScreen.SetBrightness(100);

                ApplicationManager.ChangeWindow(true);

                //CustomScreen.SetBrightness(originalBrightness);

            }));
               // t.IsBackground = true;
            t.Start();
        }
        private void OnHotKeyHandler(HotKey obj)
        {
            CustomScreen screen = new CustomScreen();
            Thread t = new Thread(new ThreadStart(() =>
            {
                //ApplicationManager.SaveScreen();
                ApplicationManager.ChangeWindow(false);

            }));

             t.Start();
        }