Exemple #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            string        station_number      = textBox4.Text;
            string        city_name           = textBox2.Text;
            string        station_information = velibService.GetInfomationsOfStation(city_name, station_number);
            var           arr = station_information.Split(Environment.NewLine.ToCharArray());
            List <string> stations_formate = new List <string>(arr);
            string        res = "";

            foreach (string stname in stations_formate)
            {
                res = res + stname + Environment.NewLine;
            }
            textBox5.Text = res;
        }