public void SetRepository(ObjectBindingRepository repository)
        {

            this.repository = repository;
            
            // databinding
            patchBindingSource.DataSource = repository.Repository;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="ParticleEffect"/> class.
 /// </summary>
 public ParticleEffect()
 {
     this.Name = "Particle Effect";
     this.Enabled = true;
     this.Controllers = new ControllerCollection { Owner = this };
     this.BindingRepository = new ObjectBindingRepository(); 
 }