void listKeys()
        {
            var coll = host.createCollection();

            RscStore store = new RscStore();

            string[] fles = RscSort.OrderBy(store.GetFileNames(csDocFolder, "*.txt"));
            foreach (string sFle in fles)
            {
                /*
                 * string strFileGroup = RscRegFs.GetFileGroup( RscFs.ExtensionOfPath(sFle) );
                 * switch( strFileGroup )
                 * {
                 *      case "Text" :
                 *      {
                 */
                var item = host.createBindableObject();

                item.ObjectA = RscStore.FileNameOfPath(sFle);
                item.ObjectB = csDocFolder + "\\" + sFle;

                coll.Add(item);

                /*
                 *              break;
                 *      }
                 * }
                 */
            }

            host.UI.lbTit.ItemsSource       = coll;
            host.UI.lbTit.DisplayMemberPath = "ObjectA";
        }
        public static void CleanUpShellTileData( )
        {
            string sStFldr    = RscKnownFolders.GetTempPath("ShellTiles", "");
            string sStCntFldr = RscKnownFolders.GetTempPath("ShellTiles", "Content");
            string sScFldr    = "A:\\Shared\\ShellContent";

            RscStore store = new RscStore();

            string[] fles = store.GetFileNames(sStFldr, "*.txt");

            foreach (string fle in fles)
            {
                string sGd = RscStore.FileNameOfPath(fle);

                ShellTile TileToFind = ShellTile.ActiveTiles.FirstOrDefault(x => x.NavigationUri.ToString().Contains("IcoGd=" + sGd));
                if (TileToFind != null)
                {
                    continue;
                }

                store.DeleteFile(sStFldr + "\\" + sGd + ".txt");
                store.DeleteFile(sStCntFldr + "\\" + sGd + ".txt");

                if (store.FolderExists(sScFldr))
                {
                    store.DeleteFile(sScFldr + "\\" + sGd + ".jpg");
                    store.DeleteFile(sScFldr + "\\" + sGd + ".png");
                }
            }
        }
        private void doRefresh()
        {
            spFiles.Children.Clear();
            sEml = "";

            RscStore store = new RscStore();

            string[] fles = RscSort.OrderBy(store.GetFileNames(csDocFolder, "*.txt"));
            foreach (string sFle in fles)
            {
                bool   bTmp;
                string sTx = store.ReadTextFile(csDocFolder + "\\" + sFle, "", out bTmp);
                if (sTx.Length > 0)
                {
                    addDate(csDocFolder + "\\" + sFle, sTx, RscStore.FileNameOfPath(sFle));
                }
            }
        }
        private void listKeys()
        {
            var coll = host.createCollection();

            RscStore store = new RscStore();

            string[] fles = RscSort.OrderBy(store.GetFileNames(csDocFolder, "*.txt"));
            foreach (string sFle in fles)
            {
                NoteEditor_coll_item item = host.createBindableObject();

                item.ObjectA = RscStore.FileNameOfPath(sFle);
                item.ObjectB = csDocFolder + "\\" + sFle;

                coll.Add(item);
            }

            host.UI.lbTit.ItemsSource       = coll;
            host.UI.lbTit.DisplayMemberPath = "ObjectA";
        }