App.xaml
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<Application x:Class="XStart2._0.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:XStart2._0"
xmlns:con="clr-namespace:XStart2._0.Converters"
StartupUri="MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<FontFamily x:Key="FontAwesomeSolid">pack://application:,,,/Resources/Fonts/#Font Awesome 6 Free Solid</FontFamily>
<FontFamily x:Key="FontAwesomeRegular">pack://application:,,,/Resources/Fonts/#Font Awesome 6 Free Regular</FontFamily>
<FontFamily x:Key="FontAwesomeBrands">pack://application:,,,/Resources/Fonts/#Font Awesome 6 Brands Regular</FontFamily>
<FontFamily x:Key="FontAwesome4">pack://application:,,,/Resources/Fonts/#FontAwesome</FontFamily>
<con:InverseBooleanConverter x:Key="InverseBooleanConverter"/>
<con:Boolean2VisibilityConverter x:Key="Boolean2VisibilityConverter"/>
<Style x:Key="Btn_Style" TargetType="{x:Type Button}">
<Setter Property="Width" Value="60"/>
<Setter Property="Height" Value="28"/>
<Setter Property="Margin" Value="5"/>
</Style>
<Style x:Key="BtnConfirm_Style" TargetType="{x:Type Button}" BasedOn="{StaticResource Btn_Style}">
<Setter Property="Background" Value="LightBlue"/>
<Setter Property="Content" Value="确认"/>
</Style>
<Style x:Key="BtnCancel_Style" TargetType="{x:Type Button}" BasedOn="{StaticResource Btn_Style}">
<Setter Property="Background" Value="LightGray"/>
<Setter Property="Content" Value="取消"/>
</Style>
<Style x:Key="FormLabel_Style" TargetType="TextBlock">
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="HorizontalAlignment" Value="Right"/>
<Setter Property="Margin" Value="5 5 5 0"/>
</Style>
<Style x:Key="FormValue_Style" TargetType="Control">
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="Margin" Value="5 5 5 0"/>
</Style>
<Style x:Key="FormButtonPanel_Style" TargetType="StackPanel">
<Setter Property="Orientation" Value="Horizontal"/>
<Setter Property="HorizontalAlignment" Value="Right"/>
</Style>
<Style x:Key="FontAwesome_Style" TargetType="{x:Type TextBlock}">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Cursor" Value="Hand"/>
</Trigger>
</Style.Triggers>
<Style.Setters>
<Setter Property="FontFamily" Value="{StaticResource FontAwesomeSolid}"/>
<Setter Property="FontSize" Value="16"/>
<Setter Property="Margin" Value="4"/>
<Setter Property="Foreground" Value="DodgerBlue"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
</Style.Setters>
</Style>
<Style x:Key="FontAwesomeName_Style" TargetType="TextBlock">
<Setter Property="FontSize" Value="10"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="TextWrapping" Value="NoWrap"/>
<Setter Property="TextTrimming" Value="CharacterEllipsis"/>
后面还有 4 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
