Esempio n. 1
0
        private void btnNoviKorisnik_Click(object sender, EventArgs e)
        {
            KorisniciForm frm = new KorisniciForm(0);

            frm.ShowDialog();
            BindForm();
        }
Esempio n. 2
0
        private void dtKorisnici_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            Global.selektovaniKorisnik = (Korisnici)dtKorisnici.CurrentRow.DataBoundItem;
            int id = Global.selektovaniKorisnik.KorisnikID;

            KorisniciForm frm = new KorisniciForm(id);

            frm.ShowDialog();
            BindForm();
        }