示例#1
0
        private void btnNoviProdavac_Click(object sender, EventArgs e)
        {
            frmProdavci noviProdavac = new frmProdavci(null);

            noviProdavac.ShowDialog();

            UcitajListuProdavaca();
            PrikaziListuProdavaca();
        }
示例#2
0
        private void IzmeniProdavca()
        {
            bool prodavacPostoji = PronadjiProdavca();

            if (prodavacPostoji == true)
            {
                frmProdavci izmeniProdavca = new frmProdavci(odabraniProdavac);
                izmeniProdavca.ShowDialog();
            }
        }