public Vocabulary(MainWindow main)
 {
     InitializeComponent();
     vocabFinnishWords = main.finnishWords;
     vocabEnglishWords = main.englishWords;
 }
 public Vocabulary(MainWindow main)
 {
     InitializeComponent();
     vocabFinnishWords = main.finnishWords;
     vocabEnglishWords = main.englishWords;
 }
 private void btnShow_Click(object sender, RoutedEventArgs e)
 {
     MainWindow main = new MainWindow();
     Vocabulary v = new Vocabulary(main);
     v.ShowDialog();
 }