Beispiel #1
0
        protected async override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            var splashWindow = new SplashWindow
            {
                Accent             = SplashAccent,
                AllowsTransparency = true,
                Image   = Splash,
                Opacity = 0
            };

            splashWindow.Show();
            await splashWindow.FadeIn();

            _ = StartTasks.Invoke(splashWindow);
        }