Merge branch 'master' of http://scddns.f3322.net:13000/sc/Audit_APP
This commit is contained in:
commit
cc77fe8cdc
1 file changed
+26
-8
+26
-8
@@ -26,20 +26,31 @@
|
|||||||
<Setter.Value>
|
<Setter.Value>
|
||||||
<ControlTemplate TargetType="{x:Type RadioButton}">
|
<ControlTemplate TargetType="{x:Type RadioButton}">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Border Background="{TemplateBinding Background}">
|
<Border x:Name="border" Background="{TemplateBinding Background}">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition>
|
<ColumnDefinition>
|
||||||
</ColumnDefinition>
|
</ColumnDefinition>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<TextBlock Grid.Row="0" Grid.Column="0" Text="{TemplateBinding Tag}" FontFamily="Fonts/#FontAwesome" HorizontalAlignment="Left" Width="40" FontSize="30" Margin="10,10,0,0"/>
|
<TextBlock Grid.Row="0" Grid.Column="0"
|
||||||
<TextBlock Grid.Row="0" Grid.Column="1" Text="{TemplateBinding Content}" FontFamily="Fonts/#FontAwesome" HorizontalAlignment="Center" Width="60" FontSize="30" Margin="10,10,0,0"/>
|
Text="{TemplateBinding Tag}"
|
||||||
|
FontFamily="Fonts/#FontAwesome"
|
||||||
|
HorizontalAlignment="Left"
|
||||||
|
Width="40" FontSize="30" Margin="10,10,0,0"/>
|
||||||
|
<TextBlock Grid.Row="0" Grid.Column="1"
|
||||||
|
Text="{TemplateBinding Content}"
|
||||||
|
FontFamily="Fonts/#FontAwesome"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
Width="60" FontSize="30" Margin="10,10,0,0"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
</Grid>
|
</Grid>
|
||||||
<ControlTemplate.Triggers>
|
<ControlTemplate.Triggers>
|
||||||
<Trigger Property="IsMouseOver" Value="True">
|
<Trigger Property="IsMouseOver" Value="True">
|
||||||
|
<Setter Property="Background" Value="#FFA0A0A0" TargetName="border"/>
|
||||||
|
</Trigger>
|
||||||
|
<Trigger Property="IsChecked" Value="True">
|
||||||
|
<Setter Property="Background" Value="#FFF5F5F5" TargetName="border"/>
|
||||||
</Trigger>
|
</Trigger>
|
||||||
</ControlTemplate.Triggers>
|
</ControlTemplate.Triggers>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
@@ -49,10 +60,17 @@
|
|||||||
</mah:MetroWindow.Resources>
|
</mah:MetroWindow.Resources>
|
||||||
<Grid>
|
<Grid>
|
||||||
|
|
||||||
<Rectangle HorizontalAlignment="Left" Height="915" Margin="0,190,0,0" Fill="#FFCCCCCC" VerticalAlignment="Top" Width="150"/>
|
<Rectangle HorizontalAlignment="Left" Height="915" Margin="0,190,0,0"
|
||||||
<RadioButton Content="查询" Tag="" HorizontalAlignment="Left" Height="55" Margin="0,190,0,0" VerticalAlignment="Top" Width="150" Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}"/>
|
Fill="#FFCCCCCC" VerticalAlignment="Top" Width="150"/>
|
||||||
<RadioButton Content="统计" Tag="" HorizontalAlignment="Left" Height="55" Margin="0,265,0,0" VerticalAlignment="Top" Width="150" Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}"/>
|
<RadioButton Content="查询" Tag="" HorizontalAlignment="Left"
|
||||||
<RadioButton Content="退出" Tag="" HorizontalAlignment="Left" Height="55" Margin="0,720,0,0" VerticalAlignment="Top" Width="150" Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}"/>
|
Height="55" Margin="0,190,0,0" VerticalAlignment="Top" Width="150"
|
||||||
|
Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}"/>
|
||||||
|
<RadioButton Content="统计" Tag="" HorizontalAlignment="Left"
|
||||||
|
Height="55" Margin="0,245,0,0" VerticalAlignment="Top" Width="150"
|
||||||
|
Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}"/>
|
||||||
|
<RadioButton Content="退出" Tag="" HorizontalAlignment="Left"
|
||||||
|
Height="55" Margin="0,720,0,0" VerticalAlignment="Top" Width="150"
|
||||||
|
Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}"/>
|
||||||
|
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
Reference in new issue
Block a user