public void Init(TriangleObservable thisMod)
 {
     _thisMod  = thisMod;
     _cardList = thisMod.CardList;
     _cardList.CollectionChanged += CollectionChange;
     _thisCanvas         = new Canvas();
     _thisMod.PositionUI = this;
     PopulateCards();
     Content = _thisCanvas;
 }
        public void Init(TriangleObservable thisMod)
        {
            SolitaireCard          card = new SolitaireCard();
            GamePackageDIContainer tt   = Resolve <GamePackageDIContainer>();
            IProportionImage       pp   = tt.Resolve <IProportionImage>(ts.TagUsed);

            _size     = card.DefaultSize.GetSizeUsed(pp.Proportion);
            _thisMod  = thisMod;
            _cardList = thisMod.CardList;
            _cardList.CollectionChanged += CollectionChange;
            _thisCanvas         = new AbsoluteLayout();
            _thisMod.PositionUI = this;
            PopulateCards();
            Content = _thisCanvas;
        }