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