private void Button_Click_3(object sender, RoutedEventArgs e) { PhotoGallery.MainWindow window = new PhotoGallery.MainWindow(); window.Show(); }