private void noviUcenikButton_Click(object sender, EventArgs e) { Close(); Form frm = new NoviUcenikForm(); frm.Show(); }
private void izmijeniUcenikaButton_Click(object sender, EventArgs e) { int ucenikId = (int)uceniciGridView.CurrentRow.Cells["UcenikId"].Value; Close(); Form frm = new NoviUcenikForm(ucenikId); frm.Show(); }