private void editPhoto(object sender, RoutedEventArgs e) { PhotoView pvWindow = new PhotoView(); pvWindow.SelectedPhoto = (Photo)PhotosListBox.SelectedItem; pvWindow.Show(); }
public void OnPhotoClick(object sender, RoutedEventArgs e) { PhotoView pvWindow = new PhotoView(); pvWindow.SelectedPhoto = (Photo)PhotosListBox.SelectedItem; pvWindow.Show(); }
private void OnPhotoClick(object sender, RoutedEventArgs e) { PhotoView pvWindow = new PhotoView(); pvWindow.SelectedPhoto = (Photo)PhotosListBox.SelectedItem; pvWindow.Show(); }