FileDialog dialog = new OpenFileDialog(); dialog.Filter = "XML files (*.xml)|*.xml|All files (*.*)|*.*"; dialog.FilterIndex = 1; if (dialog.ShowDialog() == DialogResult.OK) { txtXMLFileName.Text = dialog.FileName; webBrowserXML.Navigate(txtXMLFileName.Text); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)