private void btKorisnik_Click(object sender, EventArgs e) { KreirajKorisnika kk = new KreirajKorisnika(); DialogResult dr=kk.ShowDialog(); if (dr == DialogResult.Yes) { } }
private void btKorisnik_Click(object sender, EventArgs e) { KreirajKorisnika kk = new KreirajKorisnika(); DialogResult dr=kk.ShowDialog(); if (dr == DialogResult.Yes) { kk.k.UpisK(); Globalne.poBrKartona.Add(kk.k.brKartona, kk.k); lbKorisnici.Items.Add(kk.k.punoime()); } else if (dr == DialogResult.No) { } }
private void lbKorisnici_MouseDoubleClick(object sender, MouseEventArgs e) { var form2 = new KreirajKorisnika(); form2.ShowDialog(); }