Hi! it's so awesome how you adapted my amateurish code. that's how i would have written it if i knew anything about WPF/C# :)
I have two minor suggestions, though:
The listed items should have their icons next to them, and the associated chests theirs, as well as maybe the coordinates (you save the chest number in the ChestLeaf, so you could add a chestType field to the chest struct, and make the TreeView template/renderer retrieve the chest icon from that)
It would be nice to make the dialog nonmodal, and the jump to the selected chest immediate without clicking "Find". that way, users can try more than one chest. (Show() instead of ShowDialog(), and jumping as event handler instead of after-dialog code)
Hi! it's so awesome how you adapted my amateurish code. that's how i would have written it if i knew anything about WPF/C# :)
I have two minor suggestions, though: