Esempio n. 1
0
 private async void Button_Click_1(object sender, RoutedEventArgs e)
 {
     SpellingWordList myList = new SpellingWordList();
     SpellingWord myWord = new SpellingWord();
     myWord.SpellWord = tbSpellingWord.Text;
     myWord.UsageSentance = tbUsageSentance.Text;
     myList.AddWord(myWord);
     tbResult.Text = await myList.SaveAs(tbWhatToSave.Text);
 }
Esempio n. 2
0
        private async void Button_Click_1(object sender, RoutedEventArgs e)
        {
            SpellingWordList myList = new SpellingWordList();
            SpellingWord     myWord = new SpellingWord();

            myWord.SpellWord     = tbSpellingWord.Text;
            myWord.UsageSentance = tbUsageSentance.Text;
            myList.AddWord(myWord);
            tbResult.Text = await myList.SaveAs(tbWhatToSave.Text);
        }
Esempio n. 3
0
 public void AddWord(SpellingWord spellingWord)
 {
     this.SpellingWords.Add(spellingWord.SpellWord);
     this.UsageSentances.Add(spellingWord.UsageSentance);
 }
Esempio n. 4
0
 public void AddWord(SpellingWord spellingWord)
 {
     this.SpellingWords.Add(spellingWord.SpellWord);
     this.UsageSentances.Add(spellingWord.UsageSentance);
 }