Example #1
0
        public CikkSelector()
        {
            InitializeComponent();
            l = new Cikk_list(CikkListContructType.CikkselectorKeszlet);
            cikkBindingSource.Clear();

            foreach (var c in l.CikkFilter(""))
            {
                cikkBindingSource.Add(c);
            }
        }
Example #2
0
        private void loadData()
        {
            //BevetelFList l = new BevetelFList(new SqlConnection(DEFS.ConSTR));
            //bevetelfejBindingSource.Clear();

            //foreach (var c in l.lBevFej)
            //{
            //    bevetelfejBindingSource.Add(c);
            //}

            Cikk_list cl = new Cikk_list(CikkListContructType.FullCikk);
            cikkBindingSource.Clear();
            foreach (var cc in cl.lCIKK)
            {
                cikkBindingSource.Add(cc);
            }

            RaktarLista rl = new RaktarLista(new SqlConnection(DEFS.ConSTR));
            raktarBindingSource.Clear();
            foreach (var cc in rl.lRAKTAR)
            {
                raktarBindingSource.Add(cc);
            }
        }