protected override void OnClear()
 {
     if (project != null)
     {
         foreach (ProjectPackage package in (ArrayList)InnerList)
         {
             project.NotifyPackageRemovedFromProject(package);
         }
     }
 }
Example #2
0
 protected override void ClearItems()
 {
     if (project != null)
     {
         List <Package> list = new List <Package> (Items);
         base.ClearItems();
         foreach (Package p in list)
         {
             project.NotifyPackageRemovedFromProject(p);
         }
     }
 }