예제 #1
0
 public AlbumWindow()
 {
     InitializeComponent();
     photoViewer        = new PhotoViewerWindow();
     saveAlbum          = new SaveAlbumAsWindow();
     Images             = new List <BitmapImage>();
     add.IsEnabled      = false;
     loading.Visibility = Visibility.Hidden;
     //bar.Visibility = Visibility.Hidden;
 }
예제 #2
0
        private void saveAs_Click(object sender, RoutedEventArgs e)
        {
            saveAlbum = new SaveAlbumAsWindow();
            saveAlbum.ShowDialog();

            if (Images.Any())
            {
                add.IsEnabled = true;
            }
        }