protected void SetOwner(IWrapper Owner)
 {
     if (Owner == owner)
     {
         return;
     }
     if (owner != null)
     {
         owner.DeRegister(this);
     }
     owner = Owner;
     if (owner != null)
     {
         owner.Register(this);
     }
 }