Example #1
0
 private void ButtonRestoreSettings_Click(object sender, RoutedEventArgs e)
 {
     m_restartConnectionCycle             = false;
     m_dataContext.RestartConnectionCycle = false;
     Unsubscribe();
     m_dataContext.UnsubscribeUnsynchronizedData();
     IsolatedStorageManager.InitializeStorageForInputStatusMonitor(true);
     RetrieveSettingsFromIsolatedStorage();
     PopulateSettings();
     PopupSettings.IsOpen = false;
     CommonFunctions.LoadUserControl(CommonFunctions.GetHeaderText("Graph Real-time Measurements"), typeof(InputStatusMonitorUserControl));
 }