private void button1_Click(object sender, EventArgs e) { FormNovaRelacija fp = new FormNovaRelacija(); fp.ShowDialog(); ucitaj(); }
private void dataGridView1_MouseDoubleClick(object sender, MouseEventArgs e) { try { FormNovaRelacija fpo = new FormNovaRelacija(int.Parse(dataGridView1[0, dataGridView1.CurrentRow.Index].Value.ToString())); fpo.ShowDialog(); ucitaj(); } catch { // } }