public Form3() { InitializeComponent(); List <string> ListaRss = new List <string>(); ListaRss = xml.Read(); foreach (string r in ListaRss) { listBox1.Items.Add(r); } }
public Form1() { InitializeComponent(); this.rssSourceApi = new RssSourceApi(); rssSourceApi.CreateFile(); sourceUrlList = rssSourceApi.Read(); this.FillContextMenuStripWithRssSource(); timer1.Start(); this.MAX_ADRESY_RSS = sourceUrlList.Count; this.DawajDane(sourceUrlList.ElementAt(GetNextRssNumber())); this.FillWeatherLabels(); this.StartMoveingTextBar(); }
public Form1() { InitializeComponent(); this.rssSourceApi = new RssSourceApi(); rssSourceApi.CreateFile(); sourceUrlList = rssSourceApi.Read(); this.FillContextMenuStripWithRssSource(); timer1.Start(); this.MAX_ADRESY_RSS = sourceUrlList.Count; this.DawajDane(sourceUrlList.ElementAt(GetNextRssNumber())); this.FillWeatherLabels(); this.StartMoveingTextBar(); }
private void Form1_Activated(object sender, EventArgs e) { sourceUrlList = rssSourceApi.Read(); }