在App.xaml中添加以下代码:
<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="slApp.App" xmlns:auth="clr-namespace:MapBase.Auth;assembly=MapBase" > <Application.Resources> <ResourceDictionary> <auth:aAuth x:Key="auth"></auth:aAuth> </ResourceDictionary> </Application.Resources> </Application>
时间: 2024-10-11 10:41:44