Created
July 30, 2012 05:44
-
-
Save jasdev/3205164 to your computer and use it in GitHub Desktop.
2 line wonder
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
private void RadiusPanel_Tap(object sender, System.Windows.Input.GestureEventArgs e) | |
{ | |
settings["radius"] = ((int)settings["radius"] % 10) + 1; | |
radiusText.Text = (int)settings["radius"] + ((int)settings["radius"] != 1 ? " miles" : " mile"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment