I’m having about 200 icons ,which I wanted to display in a treeview on Runtime.
Can anyone suggest me the best way to do this.
Do i need to store “relative path” of each icon in “app.config” and load??
or can I compile all the icons to a dll and extract from there…
or any other best suited idea..?
Thanks in advance.
You should add the icons to the resources of your project, and then it becomes available in the class Properties.Resources.
So you dont have to store any paths.
Only drawback is that you need to compile again if you want to change the icons.