//		protected override void OnClearComplete ()
//		{
//			if (project != null) {
//				foreach (ProjectPackage package in (ArrayList)InnerList) {
//					project.NotifyPackageRemovedFromProject (package);
//				}
//			}
//		}

        protected override void OnInsertComplete(int index, object value)
        {
            if (project != null)
            {
                project.NotifyPackageAddedToProject((ProjectPackage)value);
            }
        }
Esempio n. 2
0
 protected override void InsertItem(int index, Package value)
 {
     base.InsertItem(index, value);
     if (project != null)
     {
         project.NotifyPackageAddedToProject(value);
     }
 }