Esempio n. 1
0
 private void FillNews()
 {
     spNews.Children.Clear();
     //Read article in inverted sense, the last news will appear on top
     for (int i = Session.Instance.Game.articles.Count - 1; i >= 0; i--)
     {
         Article a = Session.Instance.Game.articles[i];
         spNews.Children.Add(ViewUtils.CreateNewsItem(a));
     }
 }