Writing and reading an XML object, with or without a file dialog
The ItemTemplate is for Windows Forms and WPF
Here is an example with a phonebook
// Default file name
// Create phonenumber
// Write to XML file with SaveFileDialog
// Read from XML file with OpenFileDialog
A sample file is installed when you insert the template.
This shows an example of a Form object with a button.
The example can, of course, be deleted again.