/// <summary>
        /// 序列化读入数据
        /// </summary>
        /// <param name="dataSet"></param>
        public static void LoadKeyData()
        {
            //若XML文件存在,从XML文件中序列化读入
            if (SerializeHelper.Exist(XMLName))
            {
                todayData = SerializeHelper.Deserializer <KeyList_Today>(XMLName);
            }
            //若不存在,初始化,并保存
            else
            {
                //初始化
                todayData = new KeyList_Today(new List <Key_Today> {
                    new Key_Today(Keys.A),                           //0
                    new Key_Today(Keys.B),                           //1
                    new Key_Today(Keys.C),                           //2
                    new Key_Today(Keys.D),                           //3
                    new Key_Today(Keys.E),                           //4
                    new Key_Today(Keys.F),                           //5
                    new Key_Today(Keys.G),                           //6
                    new Key_Today(Keys.H),                           //7
                    new Key_Today(Keys.I),                           //8
                    new Key_Today(Keys.J),                           //9
                    new Key_Today(Keys.K),                           //10
                    new Key_Today(Keys.L),                           //11
                    new Key_Today(Keys.M),                           //12
                    new Key_Today(Keys.N),                           //13
                    new Key_Today(Keys.O),                           //14
                    new Key_Today(Keys.P),                           //15
                    new Key_Today(Keys.Q),                           //16
                    new Key_Today(Keys.R),                           //17
                    new Key_Today(Keys.S),                           //18
                    new Key_Today(Keys.T),                           //19
                    new Key_Today(Keys.U),                           //20
                    new Key_Today(Keys.V),                           //21
                    new Key_Today(Keys.W),                           //22
                    new Key_Today(Keys.X),                           //23
                    new Key_Today(Keys.Y),                           //24
                    new Key_Today(Keys.Z),                           //25


                    new Key_Today(Keys.Back),                                                                      //26
                    new Key_Today(Keys.Capital),                                                                   //27 ------大小写
                    new Key_Today(Keys.ControlKey),                                                                //28 ------ Ctrl
                    new Key_Today(Keys.Delete),                                                                    //29 ----- Delete
                    new Key_Today(Keys.Decimal),                                                                   //30 ------ 句号
                    new Key_Today(Keys.Divide),                                                                    //31 ------除
                    new Key_Today(Keys.End),                                                                       //32 ----END
                    new Key_Today(Keys.Enter),                                                                     //33
                    new Key_Today(Keys.Escape),                                                                    //34
                    new Key_Today(Keys.Home),                                                                      //35 -----Home
                    new Key_Today(Keys.Insert),                                                                    //36
                    new Key_Today(Keys.LMenu),                                                                     //37 -----左ALT
                    new Key_Today(Keys.RMenu),                                                                     //38 -----右ALT
                    new Key_Today(Keys.LShiftKey),                                                                 //39
                    new Key_Today(Keys.RShiftKey),                                                                 //40
                    new Key_Today(Keys.LWin),                                                                      //41
                    new Key_Today(Keys.RWin),                                                                      //42
                    new Key_Today(Keys.PageDown),                                                                  //43
                    new Key_Today(Keys.PageUp),                                                                    //44
                    new Key_Today(Keys.Space),                                                                     //45
                    new Key_Today(Keys.Subtract),                                                                  //46
                    new Key_Today(Keys.Tab),
                    new Key_Today(Keys.Separator),

                    new Key_Today(Keys.NumLock),
                    new Key_Today(Keys.NumPad0),
                    new Key_Today(Keys.NumPad1),
                    new Key_Today(Keys.NumPad2),
                    new Key_Today(Keys.NumPad3),
                    new Key_Today(Keys.NumPad4),
                    new Key_Today(Keys.NumPad5),
                    new Key_Today(Keys.NumPad6),
                    new Key_Today(Keys.NumPad7),
                    new Key_Today(Keys.NumPad8),
                    new Key_Today(Keys.NumPad9),

                    new Key_Today(Keys.Up),
                    new Key_Today(Keys.Down),
                    new Key_Today(Keys.Left),
                    new Key_Today(Keys.Right),

                    new Key_Today(Keys.F1),
                    new Key_Today(Keys.F2),
                    new Key_Today(Keys.F3),
                    new Key_Today(Keys.F4),
                    new Key_Today(Keys.F5),
                    new Key_Today(Keys.F6),
                    new Key_Today(Keys.F7),
                    new Key_Today(Keys.F8),
                    new Key_Today(Keys.F9),
                    new Key_Today(Keys.F10),
                    new Key_Today(Keys.F11),
                    new Key_Today(Keys.F12),

                    new Key_Today(Keys.D0),
                    new Key_Today(Keys.D1),
                    new Key_Today(Keys.D2),
                    new Key_Today(Keys.D3),
                    new Key_Today(Keys.D4),
                    new Key_Today(Keys.D5),
                    new Key_Today(Keys.D6),
                    new Key_Today(Keys.D7),
                    new Key_Today(Keys.D8),
                    new Key_Today(Keys.D9),

                    new Key_Today(Keys.Multiply),
                    new Key_Today(Keys.Add),
                    new Key_Today(Keys.Oem1),
                    new Key_Today(Keys.Oem5),
                    new Key_Today(Keys.Oem6),
                    new Key_Today(Keys.Oem7),
                    new Key_Today(Keys.OemOpenBrackets),
                    new Key_Today(Keys.OemQuestion),
                    new Key_Today(Keys.OemPeriod),
                    new Key_Today(Keys.Oemcomma),
                    new Key_Today(Keys.Oemtilde),
                    new Key_Today(Keys.ShiftKey),
                    new Key_Today(Keys.Oemplus),
                    new Key_Today(Keys.OemMinus)
                });
                //保存
                SaveKeyData();
            }
        }
 /// <summary>
 /// 设为null,减少内存占用
 /// </summary>
 public static void Clear()
 {
     todayData = null;
 }