public static void SetChartQuality(QualityPreset preset) { GUI.Properties.Settings.Default.ChartQuality = (int)preset; ChartQualityChanged(Application.Current, new EventArgs()); }