private void Button_Click(object sender, RoutedEventArgs e) { Welcome w = (Welcome)Window.GetWindow(this); w.frameMain.NavigationService.Navigate(new Login2()); }
private void btnPlay_Click(object sender, RoutedEventArgs e) { Welcome w = (Welcome)Window.GetWindow(this); w.frameMain.NavigationService.Navigate(new Game()); }