private void dgvStavke_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (e.RowIndex >= 0) { FormaStavka frmStavka = new FormaStavka(); frmStavka.NapuniFormuStavkom(dgvStavke.Rows[e.RowIndex].DataBoundItem); frmStavka.ShowDialog(); } }
private void btnDodajStavku_Click(object sender, EventArgs e) { FormaStavka fs = new FormaStavka(); fs.ShowDialog(); }