Created
November 15, 2019 13:59
-
-
Save filipoff2/89e11a32fe7d44e776f306f6701856b9 to your computer and use it in GitHub Desktop.
CultureFormatter
This file contains 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
void Submit() | |
{ | |
// USGLY SAMPLE LOGIC = No cultureInfo | |
LabelText = Title + " " + EntryText + " € "; | |
if (UglyCurtureTextForSample == "UK") | |
{ | |
LabelText = Title + " £" + EntryText ; | |
} | |
if (UglyCurtureTextForSample == "PL") | |
{ | |
LabelText = Title + EntryText + "PLN"; | |
} | |
RaisePropertyChanged("LabelText"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment