private void updateMenu_Click(object sender, EventArgs e)
 {
     if (korisnik != null)
     {
         NoviKorisnikForm updateForm = new NoviKorisnikForm(korisnik);
         updateForm.ShowDialog();
         BindGrid();
     }
 }
Exemple #2
0
 private void noviKorisnikToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (ActiveMdiChild != null)
         ActiveMdiChild.Close();
     Korisnici.NoviKorisnikForm form = new Korisnici.NoviKorisnikForm(null);
     form.MdiParent = this;
     form.Show();
 }