Exemplo n.º 1
0
 public void Setup(IEnumerable<CoinsPile> piles)
 {
     foreach (var pile in piles)
     {
         var view = new CoinsPileInfoView();
         view.Setup(new CoinsPileViewItem(pile));
         this._panel.Controls.Add(view);
     }
 }
Exemplo n.º 2
0
 public void Setup(IEnumerable <CoinsPile> piles)
 {
     foreach (var pile in piles)
     {
         var view = new CoinsPileInfoView();
         view.Setup(new CoinsPileViewItem(pile));
         this._panel.Controls.Add(view);
     }
 }