private void ExecuteLogout(object obj) { int count = LogoutReasonCodes.Count(); LogoutReasonCodes.Add(new ScreenPopUpEntity() { Name = string.Format("Logout{0}", (count + 1).ToString("00")), Description = LogoutReason, Pop_Label = "Logout " + (count + 1), Type = (int)ScreenOptions.LogoutReasonCodes }); SetReasonCodeLabel(); LogoutReason = ""; }
private void SetReasonCodeLabel() { this.WrapLabel = "Wrap-up " + (WrapupReasoncodes.Count() + 1); this.LogoutLabel = "Logout " + (LogoutReasonCodes.Count() + 1); this.NotReadyLabel = "Not Ready " + (AUXReasonCodes.Count() + 1); }