35 lines
733 B
C#
35 lines
733 B
C#
// Copyright (c) 2017 schick Informatik
|
|
// Description: Startbild mit Ladeinformationen
|
|
//
|
|
|
|
using System;
|
|
using System.Windows;
|
|
|
|
namespace ENI2
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for SplashScreenWindow.xaml
|
|
/// </summary>
|
|
public partial class SplashScreenWindow : Window
|
|
{
|
|
public SplashScreenWindow()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public void ShowMessage(string message)
|
|
{
|
|
Dispatcher.Invoke((Action)delegate ()
|
|
{
|
|
this.labelStartupInfo.Content = message;
|
|
});
|
|
}
|
|
|
|
public void LoadComplete()
|
|
{
|
|
Dispatcher.InvokeShutdown();
|
|
}
|
|
|
|
}
|
|
}
|