/// <summary> /// Performs adjusting. /// </summary> private void Adjust() { try { SaveSettings(); ProjectAdapter adapter = new ProjectAdapter(); adapter.Adjust(ApplicationObject, Settings.Default.BaseReferencePaths); } catch (Exception e) { Messages.ShowWarning(this, e.Message); return; } Messages.ShowInformation(this, Resources.AdjustDone); }
/// <summary> /// Reloads latest version of references. /// </summary> private void DownloadLatestReferences() { try { SaveSettings(); ProjectAdapter adapter = new ProjectAdapter(); adapter.DownloadLatestReferences( ApplicationObject, Settings.Default.InternalReferencesSourcePath, Settings.Default.ExternalReferencesSourcePath, Settings.Default.InternalReferencesTargetPath, Settings.Default.ExternalReferencesTargetPath); } catch (Exception e) { Messages.ShowWarning(this, e.Message); return; } Messages.ShowInformation(this, Resources.AdjustDone); }