//-------------------------------------------------------------------
        public void SetBool(string key, bool v)
        {
            int idx = FinedKey(key);

            if (idx >= 0)
            {
                m_dp[idx].Bol = v;
            }
            else
            {
                SavePrm d = new SavePrm();
                d.Bol = v;
                d.Key = key;
                m_dp.Add(d);
            }
        }
        //-------------------------------------------------------------------
        public void SetColor(string key, Color v)
        {
            int idx = FinedKey(key);

            if (idx >= 0)
            {
                m_dp[idx].Col = v;
            }
            else
            {
                SavePrm d = new SavePrm();
                d.Col = v;
                d.Key = key;
                m_dp.Add(d);
            }
        }
        //-------------------------------------------------------------------
        public void SetFont(string key, Font v)
        {
            int idx = FinedKey(key);

            if (idx >= 0)
            {
                m_dp[idx].Font = v;
            }
            else
            {
                SavePrm d = new SavePrm();
                d.Font = v;
                d.Key  = key;
                m_dp.Add(d);
            }
        }
        //-------------------------------------------------------------------
        public void SetComment(string key, string v)
        {
            int idx = FinedKey(key);

            if (idx >= 0)
            {
                m_dp[idx].Str = v;
            }
            else
            {
                SavePrm d = new SavePrm();
                d.Str = v;
                d.Key = key;
                m_dp.Add(d);
            }
        }
        //-------------------------------------------------------------------
        public bool createDP(List <string> items)
        {
            m_dp.Clear();
            if (items.Count <= 0)
            {
                return(false);
            }
            if (items[0] == m_Header)
            {
                items.RemoveAt(0);
            }

            int cnt = items.Count;

            if (cnt <= 0)
            {
                return(false);
            }
            for (int i = 0; i < cnt; i++)
            {
                SavePrm d = new SavePrm();
                d.Text = items[i];

                if (d.Kind != SaveKind.none)
                {
                    m_dp.Add(d);
                }
            }
            if (m_dp.Count > 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }