using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace FeiYu { /// /// App.xaml 的交互逻辑 /// public partial class App : Application { //protected override void OnStartup(StartupEventArgs e) //{ // // get the current app style (theme and accent) from the application // // you can then use the current theme and custom accent instead set a new theme // Tuple appStyle = ThemeManager.DetectAppStyle(Application.Current); // // now set the Green accent and dark theme // ThemeManager.ChangeAppStyle(Application.Current, // ThemeManager.GetAccent("Green"), // ThemeManager.GetAppTheme("BaseDark")); // or appStyle.Item1 // base.OnStartup(e); //} } }