Exemplo n.º 1
0
        private void Ucitaj()
        {
            List <Int_String> grupe = Kviz.UcitajGrupe();

            checkedListBox1.DataSource    = grupe;
            checkedListBox1.DisplayMember = "_string";
            checkedListBox1.ValueMember   = "_int";
        }
Exemplo n.º 2
0
        private void Ucitaj()
        {
            treeView1.Nodes.Clear();
            List <Int_String> grupe = new List <Int_String>();

            grupe = Kviz.UcitajGrupe();

            foreach (Int_String item in grupe)
            {
                TreeNode node = new TreeNode(item._string);
                node.Tag = item._int;
                treeView1.Nodes.Add(node);
            }
        }
Exemplo n.º 3
0
 private void Ucitaj()
 {
     listBox1.DataSource    = Kviz.UcitajGrupe();
     listBox1.DisplayMember = "_string";
     listBox1.ValueMember   = "_int";
 }