/// <summary>
		/// Binds the report data to the viewer.
		/// </summary>
		/// <param name="toBind">To bind.</param>
		public void BindData(Report toBind)
		{
			if(toBind == null)
			{
				return;
			}

			_mainTreeList.BeginUnboundLoad();
			_mainTreeList.ClearNodes();
			foreach(var project in toBind.KnownProjects)
			{
				AddProject(project);
			}
			_mainTreeList.EndUnboundLoad();
			_viewedReport = toBind;
		}
		/// <summary>
		/// Initializes a new instance of the <see cref="Project" /> class.
		/// </summary>
		/// <param name="containingReport">The containing report.</param>
		public Project(Report containingReport)
		{
			_issues = new List<Issue>();
			this.ContainingReport = containingReport;
		}
		/// <summary>
		/// Handles the click on the load file button. It loads the file specified by the user, if possible. 
		/// </summary>
		private void HandleLoadFile()
		{
			try
			{
				this.Cursor = Cursors.WaitCursor;
				string filenameToUse = _resultsFilenameTextBox.Text;
				if(string.IsNullOrWhiteSpace(filenameToUse))
				{
					return;
				}
				_loadedReport = new Report();
				_loadedReport.LoadResults(filenameToUse);
				DisplayLoadedReport();
			}
			finally
			{
				this.Cursor = Cursors.Default;
			}
		}