Missing class members ImageList in .NETCF
· β 2 min read · π€ Naresh Mehta
Recently I was trying to enhance CHMReader (http://code.google.com/p/chmreader-smartphone/) and wanted to use an image against CHM files which were shown in the FileBrowser dialog. The project was compiled for Windows Mobile 5 & .NETCF 2.0. I upgraded it to Windows Mobile 6 and .NETCF 3.0.Β
It is using a TreeNode class (http://msdn.microsoft.com/en-us/library/system.windows.forms.treenode.aspx) which has the possibility to show such an image besides the name by using the ImageIndex property. This ImageIndex comes from an associated ImageList (http://msdn.microsoft.com/en-us/library/system.windows.forms.imagelist.aspx).