Example #1
0
 void SettingsPage_Loaded(object sender, RoutedEventArgs e)
 {
     ColorXPicker.SelectedColor = Colors.ParseColor(Settings.Instance.XColor);
     ColorYPicker.SelectedColor = Colors.ParseColor(Settings.Instance.YColor);
     ColorZPicker.SelectedColor = Colors.ParseColor(Settings.Instance.ZColor);
     TextBoxInterval.Text       = Settings.Instance.Interval.ToString();
     TextBoxLogSize.Text        = Settings.Instance.LogSize.ToString();
 }
Example #2
0
 private void SetColors()
 {
     ChartX.Stroke = new SolidColorBrush(Colors.ParseColor(Settings.Instance.XColor).Color);
     ChartY.Stroke = new SolidColorBrush(Colors.ParseColor(Settings.Instance.YColor).Color);
     ChartZ.Stroke = new SolidColorBrush(Colors.ParseColor(Settings.Instance.ZColor).Color);
 }