public frmCenaProizvoda()
        {
            InitializeComponent();
            proizvod      = new ProizvodBLL();
            combo         = new PopunaCmBox();
            cenaproizvoda = new CenaProizvodaBLL();
            table         = new DataTable();

            combo.popuniCmbProizvod(cmbProizvod);
        }
예제 #2
0
        public frmUnosUlice()
        {
            InitializeComponent();
            ulica = new UlicaBLL();
            combo = new PopunaCmBox();
            mesto = new MestoBLL();
            table = new DataTable();

            combo.popuniCmbMesto(cmbMesta);
        }
예제 #3
0
        public frmUnosRacuna()
        {
            InitializeComponent();
            kupac = new KupacBLL();
            racun = new RacunBLL();
            combo = new PopunaCmBox();
            table = new DataTable();

            combo.popuniCmbKupac(cmbKupac);
        }
예제 #4
0
        public frmUnosKupca()
        {
            InitializeComponent();
            kupac  = new KupacBLL();
            adresa = new AdresaBLL();
            combo  = new PopunaCmBox();
            table  = new DataTable();

            combo.popuniCmbAdresa(cmbAdresa);
        }
예제 #5
0
        public frmKatalog()
        {
            InitializeComponent();
            kupac   = new KupacBLL();
            katalog = new KatalogBLL();
            combo   = new PopunaCmBox();
            table   = new DataTable();

            combo.popuniCmbKupac(cmbKupac);
        }
예제 #6
0
        public frmUnosAdrese()
        {
            InitializeComponent();
            ulica  = new UlicaBLL();
            combo  = new PopunaCmBox();
            adresa = new AdresaBLL();
            table  = new DataTable();

            combo.popuniCmbUlica(cmbUl);
        }
 public frmUnosProizvoda()
 {
     InitializeComponent();
     proizvod       = new ProizvodBLL();
     vrstaproizvoda = new VrstaBLL();
     jedinicamere   = new JedinicaMereBLL();
     combo          = new PopunaCmBox();
     table          = new DataTable();
     combo.popuniCmbVrstaProizvoda(cmbVrstaProizvoda);
     combo.popuniCmbJM(cmbJedinicaMere);
 }
예제 #8
0
        public frmBrisanjeAzuriranjeAdrese()
        {
            InitializeComponent();
            combo  = new PopunaCmBox();
            ulica  = new UlicaBLL();
            adresa = new AdresaBLL();
            table  = new DataTable();

            combo.popuniCmbUlica(cmbUlica);
            combo.popuniCmbAdresa(cmbAdresa);
            table = (DataTable)cmbAdresa.DataSource;
        }
예제 #9
0
        public frmIsporuka()
        {
            InitializeComponent();
            statusisporuke = new StatusIsporukeBLL();
            racun          = new RacunBLL();
            combo          = new PopunaCmBox();
            isporuka       = new IsporukaBLL();
            table          = new DataTable();

            combo.popuniCmbRacun(cmbRacun);
            combo.popuniCmbStatusIsporuke(cmbStatusIsporuke);
        }
        public frmBrisanjeAzuriranjeUlice()
        {
            InitializeComponent();
            combo = new PopunaCmBox();
            ulica = new UlicaBLL();
            mesto = new MestoBLL();
            table = new DataTable();

            combo.popuniCmbUlica(cmbUlica);
            combo.popuniCmbMesto(cmbMesto);
            table = (DataTable)cmbUlica.DataSource;
        }
예제 #11
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);
        }
        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;
        }