Example #1
0
 public void Fill(Panel panel, int number)
 {
     for (int i = 0; i < number; i++)
     {
         panel.Children.Add(_controlGenerator.Generate());
     }
 }
Example #2
0
        public void Fill(Panel panel)
        {
            var number = _dataProvider.GetData();

            for (int i = 0; i < number; i++)
            {
                panel.Children.Add(_controlGenerator.Generate());
            }
        }