Esempio n. 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            BusinessLayer getTitle = new BusinessLayer();
            List <String> title    = new List <String>();

            title = getTitle.getTitle();
            for (int i = 0; i < title.Count; i++)
            {
                comboBox1.Items.Add(title[i].ToString());
            }
        }
Esempio n. 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            BusinessLayer getTitle = new BusinessLayer();
            List <String> title    = new List <String>();

            title = getTitle.getTitle();
            for (int i = 0; i < title.Count; i++)
            {
                MessageBox.Show(title[i]);
            }
        }