private void Album_Button_Click(object sender, RoutedEventArgs e)
        {
            Window AddAlbumWindow = new ElementListWindow(this.LocalData, Review_Fields.Album, this)
            {
                Title = "Album Titles"
            };

            AddAlbumWindow.ShowDialog();
            AddAlbumWindow.Close();
            AddAlbumWindow = null;
            GC.Collect();
            GC.WaitForFullGCComplete();
        }
예제 #2
0
        private void AddArtist_Click(object sender, RoutedEventArgs e)
        {
            Window AddArtistWindow = new ElementListWindow(this.LocalData, Review_Fields.Artist, this)
            {
                Title = "Artist Names"
            };

            AddArtistWindow.ShowDialog();
            AddArtistWindow.Close();
            AddArtistWindow = null;
            GC.Collect();
            GC.WaitForFullGCComplete();

            Artist_NameBox.Text = currentReview.Artist;
        }