Exemple #1
0
        public Form3()
        {
            InitializeComponent();
            List <string> ListaRss = new List <string>();

            ListaRss = xml.Read();
            foreach (string r in ListaRss)
            {
                listBox1.Items.Add(r);
            }
        }
Exemple #2
0
        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();
        }
Exemple #3
0
        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();
        }
Exemple #4
0
 private void Form1_Activated(object sender, EventArgs e)
 {
     sourceUrlList = rssSourceApi.Read();
 }