阅读背景:

如何在WPF中的自定义类文件中公开应用程序

来源:互联网 

In my project's app.xaml.cs I added two member variables of type UserProfile, and ExercisePlan. I added these so that I could access them project wide. In my custom class ExercisePlan I am creating another member variable of type UserProfile. I want to set this UserProfile variable equal to Application.Current.UserProfile. In my project's app.xaml.cs I added two member




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

分享到: