コード例 #1
0
        public frmUnosRacuna()
        {
            InitializeComponent();
            kupac = new KupacBLL();
            racun = new RacunBLL();
            combo = new PopunaCmBox();
            table = new DataTable();

            combo.popuniCmbKupac(cmbKupac);
        }
コード例 #2
0
        public frmKatalog()
        {
            InitializeComponent();
            kupac   = new KupacBLL();
            katalog = new KatalogBLL();
            combo   = new PopunaCmBox();
            table   = new DataTable();

            combo.popuniCmbKupac(cmbKupac);
        }
コード例 #3
0
        public frmUnosStavkiRacuna()
        {
            InitializeComponent();
            combo        = new PopunaCmBox();
            klijent      = new KupacBLL();
            artikal      = new ProizvodBLL();
            jm           = new JedinicaMereBLL();
            racun        = new RacunBLL();
            stavkaRacuna = new StavkaRacunaBLL();
            table        = new DataTable();

            combo.popuniCmbRacun(cmbRacun);
            table = (DataTable)cmbRacun.DataSource;
            combo.popuniCmbKupac(cmbKupac);
            combo.popuniCmbProizvod(cmbProizvod);
            combo.popuniCmbJM(cmbJM);
        }
コード例 #4
0
        public frmAzuriranjeStavkiRacuna()
        {
            InitializeComponent();
            combo        = new PopunaCmBox();
            kupac        = new KupacBLL();
            jm           = new JedinicaMereBLL();
            proizvod     = new ProizvodBLL();
            racun        = new RacunBLL();
            stavkaRacuna = new StavkaRacunaBLL();
            table        = new DataTable();
            dgv          = new PopunaCmBox();

            combo.popuniCmbRacun(cmbRacun);
            table = (DataTable)cmbRacun.DataSource;
            combo.popuniCmbKupac(cmbKupac);
            combo.popuniCmbRacun(cmbRacun);
            combo.popuniCmbProizvod(cmbProizvod);
            dgvStavkeRacuna.AllowUserToAddRows = false;
            dgvStavkeRacuna.AllowUserToAddRows = false;
            dgvStavkeRacuna.ReadOnly           = true;
        }