示例#1
0
        // desni checkBox
        private void popuniSoftvere()
        {
            checkedListBox2.Items.Clear();
            List <UcionicaAssets> listaSistema = new List <UcionicaAssets>();

            foreach (Software s in DataManger.softverOperativanSistemFiltiriranje(OS))
            {
                bool postoji = false;
                if (ucionica != null)
                {
                    postoji = ucionica.InstalledSoftware.Contains(s);
                }
                checkedListBox2.Items.Add(s, postoji);
            }
        }
示例#2
0
        private void popuniSoftvere()
        {
            checkedListBoxSoftvera.Items.Clear();

            foreach (Software s in DataManger.softverOperativanSistemFiltiriranje(OS))
            {
                bool postoji = false;
                if (predmet != null)
                {
                    postoji = predmet.InstalledSoftware.Contains(s);
                }


                checkedListBoxSoftvera.Items.Add(s, postoji);
            }
        }
示例#3
0
        // desni checkBox
        private void popuniSoftvere()
        {
            checkedListBox2.Items.Clear();
            List <UcionicaAssets> listaSistema = new List <UcionicaAssets>();

            listaSistema = uAssets.Where(x => x.Equals(UcionicaAssets.windows) || x.Equals(UcionicaAssets.linux)).ToList();

            foreach (Software s in DataManger.softverOperativanSistemFiltiriranje(listaSistema))
            {
                bool postoji = false;
                if (DataManger.UcionicaFilter != null)
                {
                    postoji = DataManger.UcionicaFilter.InstalledSoftware.Contains(s);
                }
                checkedListBox2.Items.Add(s, postoji);
            }
        }