private void dgvNovosti_MouseDoubleClick(object sender, MouseEventArgs e) { var id = dgvNovosti.SelectedRows[0].Cells[0].Value; frmNovostiDetalji frm = new frmNovostiDetalji(int.Parse(id.ToString())); frm.Show(); }
private void btnDodaj_Click(object sender, EventArgs e) { frmNovostiDetalji frm = new frmNovostiDetalji(); frm.Show(); }