예제 #1
0
        private void RefreshPathFiles()
        {
            try
            {
                directoryItems = Directory.GetFileSystemEntries(path);
                var list = new List <string>(directoryItems);

                if (!CCommon.IsDirectoryRoot(path))
                {
                    list.Insert(0, "...");
                }

                directoryItems = list.ToArray();
            }
            catch
            {
                directoryItems = new[] { "..." };
            }
            start   = 0;
            current = 0;
        }