public MainWindow() { InitializeComponent(); //Needed to be able to print asian characters to the console Console.OutputEncoding = System.Text.Encoding.UTF8; UiLayer.SetWindow(this); UiLayer.InitializeStatistics(); UiLayer.InitializeSentenceExamples(); UiLayer.ShowSomeRandomWords(); }
private void ShowRandomWords_Click(object sender, RoutedEventArgs e) => UiLayer.ShowSomeRandomWords();