/// <summary>
		/// Selects or unselects all files in the file list.
		/// </summary>
		/// <param name="doSelect">True to select the files, false to unselect them.</param>
		public void ToggleSelectAllFiles(bool doSelect)
		{
			using (WinFormsHelper.BeginUiUpdate(View.fileGrid))
			{
				if (doSelect)
					View.fileGrid.SelectAll();
				else
				{
					View.fileGrid.ClearSelection();
				}
			}
		}