1. App.xaml改为Page
  2. 不可使用App.xaml定义资源,会找不到Application.Current,可存储到app.configsettings文件中
  3. 将生成设置改为类库