Exemplo n.º 1
0
        private void EditPhoto(object sender, RoutedEventArgs e)
        {
            var pvWindow = new PhotoViewer {
                SelectedPhoto = (Photo)PhotosListBox.SelectedItem
            };

            pvWindow.Show();
        }
Exemplo n.º 2
0
 private void EditPhoto(object sender, RoutedEventArgs e)
 {
     var pvWindow = new PhotoViewer {SelectedPhoto = (Photo) PhotosListBox.SelectedItem};
     pvWindow.Show();
 }