private void browser_UrlChosen(object sender, FileChosenEventArgs e) { // Assign the chosen path to the textbox control which in turn is bound to an object and updated // should the user dismiss our dialog with OK. txtImage.Text = e.RelativePath; BuilderApplication.Instance.HideWindow(browser); }