private void BrowseButton4_Click(object sender, RoutedEventArgs e) { OpenFileDialog editorDialog = new OpenFileDialog(); editorDialog.Title = "Open UE4Editor Executable"; editorDialog.Filter = "Application|*.exe"; if (editorDialog.ShowDialog() == true) { editorExeFile = Path.GetFullPath(editorDialog.FileName); Console.WriteLine("Value returned: " + editorDialog); EditorPath.Clear(); EditorPath.AppendText(editorExeFile); } }