예제 #1
0
        void addStatistic(List <StatisticItemViewModel> items, string text, AchievementRank rank, IDictionary <AchievementRank, int> info)
        {
            StatisticItemViewModel item = new StatisticItemViewModel(text, AchievementsHelper.GetRankToolTip(rank, info), new Uri(AchievementsHelper.GetIconForRank(rank)));

            items.Add(item);
        }
예제 #2
0
        void addStatistic(string text, AchievementRank rank, IDictionary <AchievementRank, int> info)
        {
            var item = lvStatistics.Items.Add(text, rank.ToString());

            item.ToolTipText = AchievementsHelper.GetRankToolTip(rank, info);
        }