protected void SetTypeBase(TypeBase typeBase) { type = typeBase; type.Clean(); type.Modified += new EventHandler(type_Modified); type.ProjectInfo.Saved += new EventHandler(Project_Saved); }