private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { FormNovaSirovina f1 = new FormNovaSirovina(int.Parse(dataGridView1.CurrentRow.Cells["id"].Value.ToString())); f1.ShowDialog(); ucitaj(); }
private void btnNovi_Click(object sender, EventArgs e) { FormNovaSirovina f1 = new FormNovaSirovina(); f1.ShowDialog(); ucitaj(); }