2016-03-24 06:08:58 +08:00
|
|
|
|
using ModernWpf;
|
2014-04-03 07:01:21 +08:00
|
|
|
|
using System.Windows;
|
|
|
|
|
|
2015-03-16 05:36:17 +08:00
|
|
|
|
namespace Sample.WPF
|
2014-04-03 07:01:21 +08:00
|
|
|
|
{
|
2016-03-24 06:08:58 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interaction logic for App.xaml
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class App : Application
|
2017-02-14 10:13:49 +08:00
|
|
|
|
{
|
|
|
|
|
public App()
|
|
|
|
|
{
|
2016-03-24 06:08:58 +08:00
|
|
|
|
UIHooks.EnableHighDpiSupport();
|
2017-02-14 10:13:49 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void OnStartup(StartupEventArgs e)
|
|
|
|
|
{
|
2016-03-24 06:08:58 +08:00
|
|
|
|
Theme.ApplyTheme(ThemeColor.Light, Accent.Green);
|
2017-02-14 10:13:49 +08:00
|
|
|
|
base.OnStartup(e);
|
|
|
|
|
}
|
|
|
|
|
}
|
2014-04-03 07:01:21 +08:00
|
|
|
|
}
|