mirror of
https://github.com/holgerb83/ModernWpfPlayground.git
synced 2025-04-19 06:53:50 +02:00
32 lines
801 B
C#
32 lines
801 B
C#
using System.Windows;
|
|
using System.Windows.Media;
|
|
using ModernWpf;
|
|
using Prism.Ioc;
|
|
|
|
namespace ModernWpfPlayground
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for App.xaml
|
|
/// </summary>
|
|
public partial class App
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void OnStartup(StartupEventArgs e)
|
|
{
|
|
ThemeManager.Current.AccentColor = Color.FromArgb(255, 0, 86, 76);
|
|
base.OnStartup(e);
|
|
}
|
|
|
|
protected override void RegisterTypes(IContainerRegistry containerRegistry)
|
|
{
|
|
containerRegistry.Register<MainWindow>();
|
|
containerRegistry.Register<MainWindowViewModel>();
|
|
}
|
|
|
|
protected override Window CreateShell()
|
|
{
|
|
return Container.Resolve<MainWindow>();
|
|
}
|
|
}
|
|
}
|