Example #1
0
        private void Btn_Künstler_Click(object sender, RoutedEventArgs e)
        {
            Musiker musiker = new Musiker(TxtBx_Künstler.Text);

            //musikerCurrent.MusikerName = TxtBx_Künstler.Text;
            musikerCurrent      = musiker;
            TxtBx_Künstler.Text = "";
            lst_media.Add(musiker);
            LstVw_Künstler.Items.Refresh();
        }
Example #2
0
        private void Btn_Add_Link_Click(object sender, RoutedEventArgs e)
        {
            musikerCurrent = (Musiker)LstVw_Künstler.SelectedItem;
            YoutubeLink youtubeLink = new YoutubeLink(TxtBx_LinkName.Text, TxtBx_Links.Text);

            musikerCurrent.ytLinks.Add(youtubeLink);
            // lst_media.Add(musikerCurrent);

            TxtBx_Links.Text    = "";
            TxtBx_LinkName.Text = "";
            LstVw_Links.Items.Refresh();
        }
Example #3
0
 private void LstVw_Künstler_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     musikerCurrent          = (Musiker)LstVw_Künstler.SelectedItem;
     LstVw_Links.ItemsSource = musikerCurrent.ytLinks;
     LstVw_Links.Items.Refresh();
 }