/// <summary>
            /// Populates the TaskItemSurrogate with data that is to be
            /// serialized from the specified TaskItem
            /// </summary>
            /// <param name="taskItem">The TaskItem that contains the data
            /// to be serialized</param>
            public void Load(TaskItem taskItem)
            {
                this.Name     = taskItem.Name;
                this.Size     = taskItem.Size;
                this.Location = taskItem.Location;

                this.BackColor = ThemeManager.ConvertColorToString(taskItem.BackColor);

                this.CustomSettings = new TaskItemInfo.TaskItemInfoSurrogate();
                this.CustomSettings.Load(taskItem.CustomSettings);

                this.Text          = taskItem.Text;
                this.ShowFocusCues = taskItem.ShowFocusCues;
                this.Image         = ThemeManager.ConvertImageToByteArray(taskItem.Image);

                this.Enabled = taskItem.Enabled;
                this.Visible = taskItem.Visible;

                this.Anchor = taskItem.Anchor;
                this.Dock   = taskItem.Dock;

                this.FontName       = taskItem.Font.FontFamily.Name;
                this.FontSize       = taskItem.Font.SizeInPoints;
                this.FontDecoration = taskItem.Font.Style;
                this.UseGdiText     = taskItem.UseGdiText;

                this.Tag = ThemeManager.ConvertObjectToByteArray(taskItem.Tag);
            }