exoMissingWords(ExercicesRow data) : base(data) { PhrasesRow sentence = (PhrasesRow)Phrases.Select("codePhrase = '" + data.codePhrase + "'")[0]; lblSentence.Text = sentence.traducPhrase; _solution = sentence.textePhrase; CreateChallenge(_solution, data.listeMots); }
exoPhraseDesordre(ExercicesRow data) : base(data) { PhrasesRow sentence = (PhrasesRow)Phrases.Select("codePhrase = '" + data.codePhrase + "'")[0]; lblSentence.Text = sentence.traducPhrase; flpSentence = new FlowLayoutPanel() { BackColor = Color.FromArgb(229, 229, 229), Width = flpChallenge.Width, //AutoSize = true }; flpSentence.ControlAdded += new ControlEventHandler(CallUpdateStatus); flpSentence.ControlRemoved += new ControlEventHandler(CallUpdateStatus); flpChallenge.Controls.Add(flpSentence); _solution = sentence.textePhrase; CreateChallenge(_solution); }