Example #1
1
 private void DeleteUCSite(UCSite uc)
 {
     if (panSites.Controls.Contains(uc))
         panSites.Controls.Remove(uc);
 }
Example #2
0
 private void AddSite(Site site)
 {
     UCSite uc = new UCSite();
     uc.WebSite = site;
     uc.Dock = DockStyle.Top;
     uc.DeleteHandler = DeleteUCSite;
     uc.Show();
     panSites.Controls.Add(uc);
 }