Ejemplo n.º 1
0
        private void btnAddNewGenre_Click(object sender, RoutedEventArgs e)
        {
            //Open the AddGenre window.
            AddGenre addGenreWindow = new AddGenre();

            addGenreWindow.ShowDialog();
            RefreshUIElements();
        }
Ejemplo n.º 2
0
        private void btnAddSongAddGenre_Click(object sender, RoutedEventArgs e)
        {
            //Add a Genre from the Add Song window.
            AddGenre addGenreWindow = new AddGenre();

            addGenreWindow.ShowDialog();
            SetUpUI();
        }
Ejemplo n.º 3
0
        private void btnAddAlbumAddGenre_Click(object sender, RoutedEventArgs e)
        {
            //From the Add Album window, add a Genre.
            AddGenre addGenreWindow = new AddGenre();

            addGenreWindow.ShowDialog();
            comboBoxAddAlbumGenreIn.DataContext = null;
            CDCatalogProcess.AddSongsFillGenres();
            comboBoxAddAlbumGenreIn.DataContext   = CDCatalogProcess.subWindowGenreList;
            comboBoxAddAlbumGenreIn.SelectedIndex = 0;
        }