private void btnSourceControlGetLatest_Click(object sender, RoutedEventArgs e) { if (Reporter.ToUser(eUserMsgKeys.LoseChangesWarn) == MessageBoxResult.No) { return; } AutoLogProxy.UserOperationStart("btnSourceControlGetLatest_Click"); Reporter.ToGingerHelper(eGingerHelperMsgKey.GetLatestFromSourceControl); if (string.IsNullOrEmpty(App.UserProfile.Solution.Folder)) { Reporter.ToUser(eUserMsgKeys.SourceControlUpdateFailed, "Invalid Path provided"); } else { SourceControlIntegration.GetLatest(App.UserProfile.Solution.Folder, App.UserProfile.Solution.SourceControl); } App.UpdateApplicationsAgentsMapping(false); Reporter.CloseGingerHelper(); AutoLogProxy.UserOperationEnd(); }
private void btnSourceControlGetLatest_Click(object sender, RoutedEventArgs e) { if (Reporter.ToUser(eUserMsgKey.LoseChangesWarn) == Amdocs.Ginger.Common.eUserMsgSelection.No) { return; } AutoLogProxy.UserOperationStart("btnSourceControlGetLatest_Click"); Reporter.ToStatus(eStatusMsgKey.GetLatestFromSourceControl); if (string.IsNullOrEmpty(WorkSpace.UserProfile.Solution.Folder)) { Reporter.ToUser(eUserMsgKey.SourceControlUpdateFailed, "Invalid Path provided"); } else { SourceControlIntegration.GetLatest(WorkSpace.UserProfile.Solution.Folder, WorkSpace.UserProfile.Solution.SourceControl); } App.UpdateApplicationsAgentsMapping(false); Reporter.HideStatusMessage(); AutoLogProxy.UserOperationEnd(); }