private void SiteStatusControl_Load(object sender, EventArgs e)
 {
     if (this.IISServers != null)
     {
         foreach (var server in this.IISServers.Servers.Values)
         {
             foreach (var site in server.Sites.Where(s => s.PublishProfile != null && !string.IsNullOrEmpty(s.PublishProfile.SiteName)))
             {
                 var siteItem = new SiteItemControl(site.PublishProfile.SiteName, string.IsNullOrEmpty(site.SiteCreationError));
                 siteItem.Dock = DockStyle.Top;
                 statusPanel.Controls.Add(siteItem);
             }
         }
     }
 }
 private void SiteStatusControl_Load(object sender, EventArgs e)
 {
     if (this.IISServers != null)
     {
         foreach (var server in this.IISServers.Servers.Values)
         {
             foreach (var site in server.Sites.Where(s => s.PublishProfile != null && !string.IsNullOrEmpty(s.PublishProfile.SiteName)))
             {
                 var siteItem = new SiteItemControl(site.PublishProfile.SiteName, string.IsNullOrEmpty(site.SiteCreationError));
                 siteItem.Dock = DockStyle.Top;
                 statusPanel.Controls.Add(siteItem);
             }
         }
     }
 }