Exemplo n.º 1
0
 public ItemControl(ItemBase data, ScrumSurface surface)
     : base(surface)
 {
     Item = data;
     Item.AddRepresentation(this);
     Item.ExternalDataChanged     += ExternalDataChanged;
     this.DisplaySettings          = new DisplaySettingsCollection(this);
     this.ScaleChanged            += ItemControl_ScaleChanged;
     this.RotateTransform.Changed += RotateTransform_Changed;
     Animation.Animator.FadeIn(this);
     this.Moved += ItemControl_Moved;
     AutoPos();
 }