public RecentFileList()
        {
            Persister = new RegistryPersister();

            MaxNumberOfFiles = 9;
            MaxPathLength = 50;
            MenuItemFormatOneToNine = "_{0}:  {2}";
            MenuItemFormatTenPlus = "{0}:  {2}";

            this.Loaded += (s, e) => HookFileMenu();
        }
 public void UseRegistryPersister(string key)
 {
     Persister = new RegistryPersister(key);
 }
 public void UseRegistryPersister()
 {
     Persister = new RegistryPersister();
 }