private void button3_Click(object sender, RoutedEventArgs e)
{
NavigationWindow window = new NavigationWindow ();
window.Source = new Uri ("Page1.xaml", UriKind.Relative);
window.Show();
}
{
NavigationWindow window = new NavigationWindow ();
window.Source = new Uri ("Page1.xaml", UriKind.Relative);
window.Show();
}