CSPspEmu.Gui.Winforms.PspDisplayForm.OpenRecentHook C# (CSharp) Method

OpenRecentHook() private method

private OpenRecentHook ( string Path ) : void
Path string
return void
        private void OpenRecentHook(string Path)
        {
            //Console.WriteLine("PATH: {0}", Path);
            var RecentFiles = StoredConfig.RecentFiles;
            try { RecentFiles.Remove(Path); } catch { }
            RecentFiles.Insert(0, Path);
            while (RecentFiles.Count > 9) RecentFiles.RemoveAt(RecentFiles.Count - 1);
            StoredConfig.Save();
            UpdateRecentList();
        }
PspDisplayForm