Ejemplo n.º 1
0
 private void ButtonRestore_Click(object sender, RoutedEventArgs e)
 {
     IsolatedStorageManager.InitializeStorageForRemoteConsole(true);
     if (int.TryParse(IsolatedStorageManager.ReadFromIsolatedStorage("NumberOfMessages").ToString(), out m_numberOfMessages))
     {
         TextBoxNumberOfMessages.Text = m_numberOfMessages.ToString();
     }
     PopupSettings.IsOpen = false;
 }