Beispiel #1
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            var selectedPodcast = listPodcast.SelectedItems[0].Text;

            if (selectedPodcast.Length >= 1)
            {
                var podcast = service.Get(int.Parse(selectedPodcast));
                podcast.Category        = txtChooseCategory.Text;
                podcast.RefreshInterval = int.Parse(cbxFrekvens.Text);
                podcast.Name            = txtTitel.Text;

                service.Save(podcast);
                service.Serialize();
            }
        }