///--------------------------------------------------------------------------------
        /// <summary>This method adds the input solution to the recent solutions list in the
        /// registry.</summary>
        ///
        /// <param name="inputSolution">The solution to add to the registry.</param>
        /// <param name="filePath">The path to get to the solution xml file.</param>
        ///--------------------------------------------------------------------------------
        protected void AddSolutionToRecentSolutions(Solution inputSolution, string filePath)
        {
            RecentSolution existingSolution = (from s in BusinessConfiguration.RecentSolutionList
                                               where s.RecentSolutionLocation.ToLower() == filePath.ToLower()
                                               select s).FirstOrDefault <RecentSolution>();

            if (existingSolution == null)
            {
                RecentSolution newSolution = new RecentSolution();
                newSolution.RecentSolutionName     = inputSolution.Name;
                newSolution.RecentSolutionLocation = filePath;
                newSolution.LastAccessedDate       = DateTime.Now;
                BusinessConfiguration.RecentSolutionList.Add(newSolution);
                BusinessConfiguration.SaveRecentSolutions();
            }
            else
            {
                UpdateRecentSolution(existingSolution);
            }
        }
 ///--------------------------------------------------------------------------------
 /// <summary>This method removes the input solution from the recent solutions list in the
 /// registry.</summary>
 ///
 /// <param name="existingSolution">The solution to remove from the registry.</param>
 ///--------------------------------------------------------------------------------
 protected void RemoveFromRecentSolutions(RecentSolution existingSolution)
 {
     RecentSolutions.Remove(existingSolution);
     BusinessConfiguration.RecentSolutionList.Remove(existingSolution);
     BusinessConfiguration.SaveRecentSolutions();
 }
 ///--------------------------------------------------------------------------------
 /// <summary>This method updates the input solution access date in the
 /// registry.</summary>
 ///
 /// <param name="existingSolution">The solution to remove from the registry.</param>
 ///--------------------------------------------------------------------------------
 protected void UpdateRecentSolution(RecentSolution existingSolution)
 {
     existingSolution.LastAccessedDate = DateTime.Now;
     BusinessConfiguration.SaveRecentSolutions();
 }