Created
June 12, 2015 18:39
-
-
Save c4tachan/210ea405d6662c41aea4 to your computer and use it in GitHub Desktop.
New Algorithm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const vector<CaseItem> vCases = ((eLoginMode == LoginContinueCase) ? GetContinuableCases() | |
/*else if*/ : ((eLoginMode == LoginNewCase) ? LoginDialog::GetCaseManager().GetPreOpCases() | |
/*else if*/ : ((eLoginMode == LoginReviewCase) ? GetReviewableCases() | |
/*else if*/ : ((eLoginMode == LoginAmendCase) ? GetAmendableCases() | |
/*else*/ : vector<CaseItem>())))); | |
if (Row < vCases.size()) | |
{ | |
if (LoginDialog::GetSelectedCase() == vCases[Row].strCaseName) | |
{ | |
LoginDialog::SelectCase(EMPTY_STRING); | |
} | |
else | |
{ | |
LoginDialog::SelectCase(vCases[Row].strCaseName); | |
} | |
m_cGrid.Invalidate(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment