예제 #1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            WordPool.Add(new Word(PolishWord.Text.ToString(), EnglishWord.Text.ToString()));
            WordList window = new WordList();

            window.Show();
            this.Close();
        }
예제 #2
0
 public static void AddWord(string polish, string english)
 {
     WordPool.Add(new Word(polish, english));
 }