/// <summary>
 /// Adds a group of to the configuration file.
 /// </summary>
 public void AddRange(string [] Files)
 {
     foreach (string File in Files)
     {
         RecentFileElement RecentFile =
             new RecentFileElement(File);
         this.Add(RecentFile);
     }
 }
        /// <summary>
        /// Adds a PlaneDisasterElement to the configuration file.
        /// </summary>
        private void Add(RecentFileElement element)
        {
            RecentFileElement [] NewFiles = new RecentFileElement [this.Count];
            short FileCount = this.MaxCount;

            this.CopyTo(NewFiles, 0);
            this.Clear();
            int i = 1;

            this.BaseAdd(element);
            foreach (RecentFileElement curFile in NewFiles)
            {
                if (curFile.Name != element.Name)
                {
                    this.BaseAdd(curFile);
                    i++;
                    if (i >= FileCount)
                    {
                        break;
                    }
                }
            }
        }
        /// <summary>
        /// Adds a PlaneDisasterElement to the configuration file.
        /// </summary>
        private void Add(RecentFileElement element)
        {
            RecentFileElement [] NewFiles = new RecentFileElement [this.Count];
            short FileCount = this.MaxCount;

            this.CopyTo(NewFiles, 0);
            this.Clear();
            int i = 1;
            this.BaseAdd(element);
            foreach (RecentFileElement curFile in NewFiles) {
                if (curFile.Name != element.Name) {
                    this.BaseAdd(curFile);
                    i++;
                    if (i >= FileCount) break;
                }
            }
        }
 /// <summary>
 /// Adds a group of to the configuration file.
 /// </summary>
 public void AddRange(string [] Files)
 {
     foreach (string File in Files) {
         RecentFileElement RecentFile =
             new RecentFileElement(File);
         this.Add(RecentFile);
     }
 }