Esempio n. 1
0
        //Cambia el Display
        private void button3_Click(object sender, EventArgs e)
        {
            String a     = comboBox1.Text;
            String c     = a.Replace("Estacion ", "");
            int    index = Convert.ToInt32(c);

            index--;
            Station.Station st = stations[index];

            String nombre = comboBox1.Text;
            String dis    = richTextBox3.Text;

            st.setLCD(dis, out b, out b);
            richTextBox3.Clear();
        }