private void dgvSlozenost_MouseDoubleClick(object sender, MouseEventArgs e) { var id = dgvSlozenost.SelectedRows[0].Cells[0].Value; frmSlozenostDetalji frm = new frmSlozenostDetalji(int.Parse(id.ToString())); frm.Show(); }
private void btnDodaj_Click(object sender, EventArgs e) { frmSlozenostDetalji frm = new frmSlozenostDetalji(); frm.Show(); }