private void BrowseForSchema_Click(object sender, System.Windows.RoutedEventArgs e) { var fm = new FileFilterManager(); fm.AddGuiSchemaFilter(); var ofd = ControlFactory.CreateOpenFileDialog("Select a schema file.", fm.ToString()); if (ofd.ShowDialog() == System.Windows.Forms.DialogResult.OK) { this.NewSchemaPath.Text = ofd.FileName; SchemaPath = ofd.FileName; } this.NewSchemaOption.IsChecked = true; }