Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void Button_Click_1(object sender, RoutedEventArgs e)
- {
- IsolatedStorageSettings settings = IsolatedStorageSettings.ApplicationSettings;
- if (!settings.Contains("userInput2"))
- {
- settings.Add("userInput2", textBox2.Text);
- }
- else
- {
- settings["userInput2"] = textBox2.Text;
- }
- settings.Save();
- this.NavigationService.Navigate(new Uri("/SecondPage.xaml?userInput=" + textBox.Text, UriKind.Relative));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement