Ejemplo n.º 1
0
        public WordCard(MondaiWord mondaiWord)
        {
            if (null == mondaiWord) throw new ArgumentNullException();
            MondaiWord = mondaiWord;
            Text = mondaiWord.Text;
            Size = MeasureString(Text, EPuzzleFonts.WordCard);
            MarginRight = MarginBottom = 10;
            PaddingLeft = PaddingTop = PaddingRight = PaddingBottom = 5;
            Color = Color.Blue;
            BackColor = Color.AliceBlue;
            BorderLine = true;

            //			LettersThatIsShown = LettersThatIsShown.Initial;
        }
		protected override WordCard CreateWordCard(MondaiWord mondaiWord)
		{
			var wordCard = base.CreateWordCard(mondaiWord);
			HideLettersOnCard(wordCard);
			return wordCard;
		}