Пример #1
1
 private void DeleteUCSite(UCSite uc)
 {
     if (panSites.Controls.Contains(uc))
         panSites.Controls.Remove(uc);
 }
Пример #2
0
 private void DeleteUCSite(UCSite uc)
 {
     if (panSites.Controls.Contains(uc))
     {
         panSites.Controls.Remove(uc);
     }
 }
Пример #3
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);
 }
Пример #4
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);
        }