public static CopyPasteList RecallCopyPasteList()
        {
            CopyPasteList copyPasteList = null;
            string        applDataDir   = CopyPasteList.BuildApplDataDir();

            Pather.AssureDirectoryExists(applDataDir);
            string applStateFileName = "CopyPasteList.xml";
            string applStatePath     = Path.Combine(applDataDir, applStateFileName);

            if (File.Exists(applStatePath) == true)
            {
                try
                {
                    using (var tr = new XmlTextReader(applStatePath))
                    {
                        copyPasteList = CopyPasteList.FromXml(tr);
                    }
                }
                catch (Exception excp)
                {
                    Debug.Print(excp.ToString());
                    throw excp;
                }
            }
            return(copyPasteList);
        }
        public static CopyPasteList ToCopyPasteList(
            this XElement Elem, XNamespace Namespace)
        {
            if (Elem == null)
            {
                return(new CopyPasteList(false));
            }
            else
            {
                var sl = from c in Elem.Elements(Namespace + "CopyPasteItem")
                         select c.ToCopyPasteItem(Namespace);

                var copyPasteList = new CopyPasteList(false);
                foreach (var sf in sl)
                {
                    copyPasteList.Add(sf);
                }

                return(copyPasteList);
            }
        }