阅读背景:

当应用程序有未保存的数据时,处理注销/关闭/重启的正确方法是什么?

来源:互联网 

In WPF App.Current.SessionEnding must return in a few seconds, otherwise the "application does not respond" window appears. So the user can't be asked in this event handler to save his data, because the user's response takes longer than a few seconds.In WPF App.Current.SessionEnding must return in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: