private void btnNewPhoto_Click(object sender, RoutedEventArgs e)
 {
     UploadNewPhoto window = new UploadNewPhoto();
     window.Owner = this;
     var ret = window.ShowDialog();
     if (ret.GetValueOrDefault())
     {
         // Upload succedded. Refresh photo list.
         this.GetPhotos();
     }
 }
Exemple #2
0
        private void btnNewPhoto_Click(object sender, RoutedEventArgs e)
        {
            UploadNewPhoto window = new UploadNewPhoto();

            window.Owner = this;
            var ret = window.ShowDialog();

            if (ret.GetValueOrDefault())
            {
                // Upload succedded. Refresh photo list.
                this.GetPhotos();
            }
        }