Kenny's XML Encrypter

Name: Kenny's XML Encrypter
Version: 1.1
Platform: Windows with .Net Framework 2.0 installed
A small tool that can encrypt/decrypt xml element and attribute value. You can click Help button to see how to use it.
You can set different keys to encrypt different elements or attributes in the same time. Just don't forget those keys.
This tool only works on those leaf elements.
Play around, and leave a message at here if you found any problems.

PS: The save is done automatically when you click the "Encrypt" or "Decrypt" button so please don't forget to keep an original copy of your XML file.


Refresh WebBrowser in Winform

I put a WebBrowser control on my form and use it to load XML files. Here is the code:
OpenFileDialog FileDialog = new OpenFileDialog();
FileDialog.Title = "Open XML Document";
FileDialog.Filter = "XML file (*.xml)|*.xml";

if (FileDialog.ShowDialog() == DialogResult.OK)
I found that if I load the second XML, sometimes it will not refresh itself to show the new XML content. Instead, it still shows the previous one. I google the web to see if there is any other way to prevent the cache. Unfortunately, I found nothing. But this post inspires me and so I create a workaround.