private void Button_Click(object sender, RoutedEventArgs e) { AnotherWindow anotherWindow = new AnotherWindow(); anotherWindow.Show(); }