public void BrowseForFileName() { openFileDialog.Filter = "XML Document (*.xml)|*.xml|All Files (*.*)|*.*"; var result = openFileDialog.ShowDialog(); if (result == DialogResult.OK) { view.SetFileName(openFileDialog.FileName); } }
public void BrowseForFileName() { openFileDialog.Filter = "XML Document (*.xml)|*.xml|All Files (*.*)|*.*"; var result = openFileDialog.ShowDialog(); if (result == DialogResult.OK) { view.SetFileName(openFileDialog.FileName); } }