【发布时间】:2017-03-25 12:33:58
【问题描述】:
在加载所有应用程序数据后关闭闪屏后需要打开一个主窗口。
报错
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
DispatcherHelper.Initialize();
Global = new AARFID.KeyManagement.UI.Properties.Settings();
Splash splash = new Splash();
var isClosed = splash.ShowDialog();
if (isClosed == true)
{
splash.Close();
}
UI.Main m = new UI.Main();
m.Show();
}
【问题讨论】: