private void dgvKorisnici_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { var korisnikId = int.Parse(dgvKorisnici.SelectedRows[0].Cells[0].Value.ToString()); frmKorisniciDetails frm = new frmKorisniciDetails(korisnikId); frm.Show(); }
private void btnDodaj_Click(object sender, EventArgs e) { frmKorisniciDetails frm = new frmKorisniciDetails(); frm.Show(); }