private void keyboard_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            key.keyboard_click(sender, e);
            string type = key.ReturnType;
            string value = key.ReturnValue;
            if (type == "function" && value == "Power")
            {
                Window_Start start = new Window_Start();
                start.Show();
                this.Close();

                //  跳转至播放介绍视频界面
                //  Window_intro_Video intro = new Window_intro_Video();
                //  intro.Show();
                //  this.Close();//关闭当前窗口

                if (IsPower)
                {
                    


                    //Window_Start window_Start1 = new Window_Start();
                    //window_Start1.Show();
                    //this.Close();//关闭当前窗口
                    IsPower = false;
                }
                else
                {
                    myMessageBox my = new myMessageBox();
                    my.show("开机界面退出!");

                }
            }
        }
        private void ESC_Click(object sender, RoutedEventArgs e)
        {
            Window_Start window_Start = new Window_Start();
            window_Start.Show();
            this.Close();//关闭当前窗口

        }