sc 4 years ago
parent
commit
5c0539614a
  1. 4
      Audit.csproj
  2. 4
      MainWindow.xaml
  3. 4
      Resources/RadioButtonMenuDictionary.xaml

4
Audit.csproj

@ -158,6 +158,10 @@
<DependentUpon>MainWindow.xaml</DependentUpon> <DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType> <SubType>Code</SubType>
</Compile> </Compile>
<Page Include="Resources\RadioButtonMenuDictionary.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Windows\LogWindow.xaml"> <Page Include="Windows\LogWindow.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>

4
MainWindow.xaml

@ -8,6 +8,7 @@
xmlns:mah="http://metro.mahapps.com/winfx/xaml/controls" xmlns:mah="http://metro.mahapps.com/winfx/xaml/controls"
x:Class="Audit.MainWindow" x:Class="Audit.MainWindow"
mc:Ignorable="d" mc:Ignorable="d"
Background="#FFF5F5F5"
Title="SUNLIGHT" Height="800" Width="1280" WindowStartupLocation="CenterScreen"> Title="SUNLIGHT" Height="800" Width="1280" WindowStartupLocation="CenterScreen">
<mah:MetroWindow.Resources> <mah:MetroWindow.Resources>
<Style x:Key="RadioButtonStyle" TargetType="{x:Type RadioButton}"> <Style x:Key="RadioButtonStyle" TargetType="{x:Type RadioButton}">
@ -62,12 +63,15 @@
<Rectangle HorizontalAlignment="Left" Height="915" Margin="0,190,0,0" <Rectangle HorizontalAlignment="Left" Height="915" Margin="0,190,0,0"
Fill="#FFCCCCCC" VerticalAlignment="Top" Width="150"/> Fill="#FFCCCCCC" VerticalAlignment="Top" Width="150"/>
<RadioButton Content="查询" Tag="&#xF15C;" HorizontalAlignment="Left" <RadioButton Content="查询" Tag="&#xF15C;" HorizontalAlignment="Left"
Height="55" Margin="0,190,0,0" VerticalAlignment="Top" Width="150" Height="55" Margin="0,190,0,0" VerticalAlignment="Top" Width="150"
Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}"/> Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}"/>
<RadioButton Content="统计" Tag="&#xF00B;" HorizontalAlignment="Left" <RadioButton Content="统计" Tag="&#xF00B;" HorizontalAlignment="Left"
Height="55" Margin="0,245,0,0" VerticalAlignment="Top" Width="150" Height="55" Margin="0,245,0,0" VerticalAlignment="Top" Width="150"
Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}"/> Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}"/>
<RadioButton Content="退出" Tag="&#xF08B;" HorizontalAlignment="Left" <RadioButton Content="退出" Tag="&#xF08B;" HorizontalAlignment="Left"
Height="55" Margin="0,720,0,0" VerticalAlignment="Top" Width="150" Height="55" Margin="0,720,0,0" VerticalAlignment="Top" Width="150"
Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}"/> Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}"/>

4
Resources/RadioButtonMenuDictionary.xaml

@ -0,0 +1,4 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
</ResourceDictionary>
Loading…
Cancel
Save