Example #1
0
        public static string ReparseId(string input)
        {
            int id1 = input.IndexOf("%");

            string    id    = input[id1 + 1].ToString();
            PrizeType pType = (PrizeType)Convert.ToInt32(id);
            string    text  = input.Replace("%" + id + "%", ContestManager.GetPrizeName(pType));

            return(text);
        }
Example #2
0
 private string GeneratePrizeCode(Money Value)
 {
     return(" <b>" + ContestManager.GetPrizeProperObject(RewardType, Value).ToString() + "</b> ["
            + ContestManager.GetPrizeName(RewardType) + "]");
 }