private void browseRhinocommon_Click(object sender, EventArgs e)
{
string start_at = File.Exists(rhinocommonPath.Text) ? rhinocommonPath.Text :
Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
string location;
if (GetLocation("RhinoCommon library", "RhinoCommon.dll", start_at, out location))
{
rhinocommonPath.Text = location;
rhinocommonPath.ForeColor = SystemColors.ControlDark;
EnableOrDisableContinue();
}
}