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