예제 #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);
     }
 }
예제 #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);
     }
 }