private void dgvGradovi_MouseDoubleClick(object sender, MouseEventArgs e) { var id = dataGridView1.SelectedRows[0].Cells[0].Value; frmDetalji detalji = new frmDetalji(int.Parse(id.ToString())); detalji.Show(); }
private void noviGradToolStripMenuItem_Click(object sender, EventArgs e) { Gradovi.frmDetalji frm = new Gradovi.frmDetalji(); frm.Show(); }
private void btnDodaj_Click(object sender, EventArgs e) { frmDetalji frm = new frmDetalji(); frm.Show(); }