상속: System.Windows.Forms.UserControl
 private void highlightObject_SaveWorkerCreated(object sender, EventArgs e)
 {
     if (saveWorkerStatusControl == null)
     {
         saveWorkerStatusControl = new PublishStatusControl(highlightObject, Workers.PublishWorker.PublishWorkerTypes.Save);
         saveWorkerStatusControl.Margin = Padding.Empty;
         statusTableLayoutPanel.Controls.Add(saveWorkerStatusControl);
     }
 }
        private void HighlightThumbnailControl_Load(object sender, EventArgs e)
        {
            // to test spacing:
            //var rand = new Random();
            //this.BackColor = Color.FromArgb(rand.Next(256), rand.Next(256), rand.Next(256));

            var openHighlightControl = new PublishStatusControl(highlightObject);
            openHighlightControl.HighlightDetailsOpening += new EventHandler(openHighlightControl_HighlightDetailsOpening);
            openHighlightControl.Margin = Padding.Empty;
            statusTableLayoutPanel.Controls.Add(openHighlightControl);
        }
 private void highlightObject_FacebookShareWorkerCreated(object sender, EventArgs e)
 {
     if (facebookShareWorkerStatusControl == null)
     {
         facebookShareWorkerStatusControl = new PublishStatusControl(highlightObject, Workers.PublishWorker.PublishWorkerTypes.Facebook);
         facebookShareWorkerStatusControl.Margin = Padding.Empty;
         statusTableLayoutPanel.Controls.Add(facebookShareWorkerStatusControl);
     }
 }