private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { FormDodavanjeKomitenta f1 = new FormDodavanjeKomitenta(int.Parse(dataGridView1.CurrentRow.Cells[0].Value.ToString())); f1.ShowDialog(); ucitajKupce(); }
private void btnDodaj_Click(object sender, EventArgs e) { FormDodavanjeKomitenta f1 = new FormDodavanjeKomitenta(); f1.ShowDialog(); ucitajKupce(); }