Pona

1

votes
1

answer
47

views

DICOMDir file getting corrupted after save with fo-dicom

I'm experiencing an issue with adding a file to a DICOMDir. Based on this example I've successfully created and saved to disk an image from a series. Then, I tried adding that file to the DICOMDIR, so that the Dir references the new file, and, though the saving is successful, when I try to open the...
Pona
2

votes
1

answer
48

views

Getting “DicomTag doesn't support values” when trying to obtain DicomDataset

After upgrading to fo-dicom 4.0, I started to get a DicomDataException: 'DicomTag doesn't support values' when trying to obtain a DicomDataset from a DICOMDIR file. Code is as follows: var dicomDirectory = await DicomDirectory.OpenAsync(dicomdirPath); foreach (var patientRecord in dicomDirectory.Roo...
Pona
2

votes
2

answer
1.4k

views

Adding an existing ToolStripMenuItem to a ContextMenu dynamically makes it disappear from its original place

I have a Form that has a menu called MenuEdit, with a ToolStripMenuItem called MenuEditElement inside. When I right click on a listview, I want to create a Context Menu dynamically, containing EditElement, among other things. I'm doing it like this: Dim CM As New ContextMenuStrip Dim Submenu As Tool...
Pona