private void DgvPaketi_DoubleClick(object sender, EventArgs e) { var paketId = (int)dgvPaketi.SelectedRows[0].Cells[0].Value; var frm = new frmPaketDetalji(paketId); frm.Show(); }