Click here to Skip to main content
14,981,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i am using C# .net windows app vs2008.

i need to convert this code for C# .net
VB
path = "D:\FilmPlus_MSAccess\bin\Debug\Images\" & DataGrid_DisplayView.Item(13, i1).Value
                 
       Dim ddirs As New DicomDataSetCollection
       Dim ddir As New DicomDataSet


       Dim Patient As New DicomDataSet
       Dim Study As New DicomDataSet
       Dim series As New DicomDataSet
       Dim instance As New DicomDataSet
       Dim pixelData As New DicomDataSetCollection
       Dim i As Integer
       Dim im As New DicomImage

       

     For Each Patient In ddir.Children     
            For Each Study In Patient.Children
                For Each series In Study.Children
                    For Each instance In series.Children
                        pixelData = instance.Value(&H88, &H200) 'Attributes(&H88, &H200).Value
                        ViewerStudy.Images.Add(pixelData(0))
                    Next
                Next
            Next
        Next           

kindly help and give me suggestion
nitin
Posted
Updated 19-Jul-12 0:17am
v2

1 solution

I would start here.[^] It does a good job.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900