private void ReceptionDetail() { Reception rec = (Reception)dataGridViewReceptions.SelectedRows[0].DataBoundItem; FormReceptionDetail formDetail = new FormReceptionDetail(); formDetail.SetReception(rec.ReceptionId); formDetail.ShowDialog(); }