private void RenderExistingLetters() { List<string> letters = new List<string>(); letters.AddRange(MatrixLedCharacterDefinitions.CharacterDefinitions.Keys); foreach (string letter in letters) { SingleCharacter sc = new SingleCharacter(); sc.Ininitiale(letter); _wrapPanel.Children.Add(sc); sc.LetterSelected += new EventHandler<LetterSelectedEventArgs>(SingleCharacterClicked); } }
private void RenderExistingLetters() { List <string> letters = new List <string>(); letters.AddRange(MatrixLedCharacterDefinitions.CharacterDefinitions.Keys); foreach (string letter in letters) { SingleCharacter sc = new SingleCharacter(); sc.Ininitiale(letter); _wrapPanel.Children.Add(sc); sc.LetterSelected += new EventHandler <LetterSelectedEventArgs>(SingleCharacterClicked); } }