App.xaml:

<Application x:Class="ZhiBiXiaoBai.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:ZhiBiXiaoBai"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                
                <!-- 本文件中写样式 -->
                <ResourceDictionary>
                    <Style x:Key="NormalWinStyle" TargetType="{x:Type Window}">
                        <Setter Property="WindowStyle" Value="None" />
                    </Style>
                </ResourceDictionary>

                <!-- 样式字典_其他项目 -->
                <!--<ResourceDictionary Source="pack://application:,,,/项目名;component/Themes/MaterialDesignTheme.xaml" />-->
                <!-- 样式字典_本项目 -->
                <ResourceDictionary Source="/ZhiBiXiaoBai;component/Dictionarys/Lable_Dictionary.xaml"/>

                <!-- 语言字典 -->
                <!--<ResourceDictionary x:Name="Languag" Source="/项目名;component/Dictionarys/AppResource_en_US.xaml"/>
                    <ResourceDictionary x:Name="Language" Source="/项目名;component/Dictionarys/AppResource_zh_CN.xaml"/>-->
                
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.

 作者:꧁执笔小白꧂