示例#1
0
文件: Form3.cs 项目: przemekwa/pogoda
        public Form3()
        {
            InitializeComponent();
            List <string> ListaRss = new List <string>();

            ListaRss = xml.Read();
            foreach (string r in ListaRss)
            {
                listBox1.Items.Add(r);
            }
        }
示例#2
0
文件: Form1.cs 项目: przemekwa/pogoda
        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();
        }
示例#3
0
文件: Form1.cs 项目: przemekwa/pogoda
        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();
        }
示例#4
0
文件: Form1.cs 项目: przemekwa/pogoda
 private void Form1_Activated(object sender, EventArgs e)
 {
     sourceUrlList = rssSourceApi.Read();
 }