/// <summary>
        /// Add error boxes to the application list item, with the appropriate captions.
        /// </summary>
        private void AddErrorBoxes()
        {
            // Add a custom error control to our list item
            downloadErrorBox = new ErrorBox();

            installErrorBox = new ErrorBox();
            downloadErrorBox.ErrorCaption       = Resources.ErrorDownloading;
            downloadErrorBox.DetailsCaption     = Resources.ViewDetails;
            downloadErrorBox.DetailsOnSameLine  = true;
            downloadErrorBox.DetailsDialogTitle = "Error downloading file";

            installErrorBox.ErrorCaption       = Resources.ErrorInstalling;
            installErrorBox.DetailsCaption     = Resources.ViewDetails;
            installErrorBox.DetailsOnSameLine  = true;
            installErrorBox.DetailsDialogTitle = "Error installing file";

            this.Controls.Add(downloadErrorBox);
            downloadErrorBox.Location = new Point(this.Left, this.Bottom - downloadErrorBox.Height - 2);
            downloadErrorBox.Hide();

            this.Controls.Add(installErrorBox);
            installErrorBox.Location = new Point(this.Left, this.Bottom - installErrorBox.Height - 2);
            installErrorBox.Hide();
        }
        /// <summary>
        /// Add error boxes to the application list item, with the appropriate captions.
        /// </summary>
        private void AddErrorBoxes()
        {
            // Add a custom error control to our list item
            downloadErrorBox = new ErrorBox();
            
            installErrorBox = new ErrorBox();
            downloadErrorBox.ErrorCaption = Resources.ErrorDownloading;
            downloadErrorBox.DetailsCaption = Resources.ViewDetails;
            downloadErrorBox.DetailsOnSameLine = true;
            downloadErrorBox.DetailsDialogTitle = "Error downloading file";

            installErrorBox.ErrorCaption = Resources.ErrorInstalling;
            installErrorBox.DetailsCaption = Resources.ViewDetails;
            installErrorBox.DetailsOnSameLine = true;
            installErrorBox.DetailsDialogTitle = "Error installing file";

            this.Controls.Add(downloadErrorBox);
            downloadErrorBox.Location = new Point(this.Left, this.Bottom - downloadErrorBox.Height - 2);
            downloadErrorBox.Hide();

            this.Controls.Add(installErrorBox);
            installErrorBox.Location = new Point(this.Left, this.Bottom - installErrorBox.Height - 2);
            installErrorBox.Hide();
        }