Beispiel #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            listBox1.Items.Clear();

            List <Video> lvi = VideoPlayer.GetListVideo();

            if (lvi != null)
            {
                listBox1.DataSource    = lvi;
                listBox1.DisplayMember = "VideoName";
                listBox1.ValueMember   = "UUID";
                listBox1.SelectedIndex = 0;
            }
        }