private void btnBrowse_Click(object sender, EventArgs e) { string newPath = EditLibraryDlg.GetLibraryPath(this, ExistingLibraryPath); if (newPath != null) { tbxLibraryPath.Text = newPath; } }
public string ValidateLibraryPath() { if (!EditLibraryDlg.ValidateLibraryPath(this, ExistingLibraryPath)) { tbxLibraryPath.Focus(); return(null); } return(ExistingLibraryPath); }