You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.4 KiB

<Application x:Class="WebTest.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:WebTest"
xmlns:c="clr-namespace:SJ.Controls;assembly=SJ.Controls"
StartupUri="MainWindow.xaml">
<Application.Resources>
<SolidColorBrush x:Key="Button.Background" Color="#8080FF"/>
<SolidColorBrush x:Key="Button.Selected.Background" Color="#8080FF"/>
<SolidColorBrush x:Key="Button.Normal.Background" Color="#F2F2F2"/>
<SolidColorBrush x:Key="Text.Color" Color="#4A4A4A"/>
<SolidColorBrush x:Key="TextBox.BorderBrush" Color="#D7D7D7"/>
<SolidColorBrush x:Key="TextBox.Disable.BgColor" Color="#F2F2F2"/>
<Style TargetType="{x:Type c:BButton}">
<Setter Property="Height" Value="30"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="Background" Value="{StaticResource Button.Selected.Background}"/>
<Setter Property="Foreground" Value="White"/>
</Style>
<Style TargetType="{x:Type c:BTextBox}">
<Setter Property="Height" Value="30"/>
<Setter Property="Background" Value="White"/>
<Setter Property="BorderBrush" Value="{StaticResource TextBox.BorderBrush}"/>
</Style>
</Application.Resources>
</Application>