Alright, this is going to be a rather long explanation so bear with me.
What I am trying to to is build a GUI program that, in the end, will look like this:
The middle Frame is for displaying a desktop icon and the right frame is for displaying a selected image.
The XML file I am using looks like this:
<list>
<item id="1">
<ico>Path\to\icon1<\ico>
<img>Path\to\image1<\img>
<exe>Path\to\program1<\exe>
<label>UserDefinedLabel1<\label>
<\item>
<item id="2">
<ico>Path\to\icon2<\ico>
<img>Path\to\image2<\img>
<exe>Path\to\program2<\exe>
<label>UserDefinedLabel2<\label>
<\item>
<\list>
What I want this program to do is when I highlight an item in the listbox (which btw is displaying the <label> value associated with the item) I want the displayed icon and image to change to the ones associated with that entry.
Also I would like to include an additional dialog to open when the 'ADD' button is clicked that will add entries to the XML file that looks like this:
The main problem I am running into is that I do not know much about XML and how to parse it into dynamic variables that can change based off of selection.
Any help is appreciated.
10-29-16 EDIT: For all intents and purposes, I basically want to create something similar to PStart, but with a preview pane with a customizable image for each item in it.