|
|
@ -1,13 +1,18 @@ |
|
|
<Window x:Class="SUNLIGHT_Administrate.git.MainWindow" |
|
|
<Window x:Class="SUNLIGHT_Audit.git.MainWindow" |
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
|
xmlns:local="clr-namespace:SUNLIGHT_Administrate.git" |
|
|
xmlns:local="clr-namespace:SUNLIGHT_Audit.git" |
|
|
mc:Ignorable="d" |
|
|
mc:Ignorable="d" |
|
|
Background="#FFF5F5F5" |
|
|
Background="#FFF5F5F5" |
|
|
Title="SUNLIGHT" Height="900" Width="1280" WindowStartupLocation="CenterScreen"> |
|
|
Title="" Height="900" Width="1280" WindowStartupLocation="CenterScreen"> |
|
|
|
|
|
|
|
|
|
|
|
<!--隐藏标题栏--> |
|
|
|
|
|
<WindowChrome.WindowChrome> |
|
|
|
|
|
<WindowChrome CaptionHeight="30" UseAeroCaptionButtons="False"></WindowChrome> |
|
|
|
|
|
</WindowChrome.WindowChrome> |
|
|
|
|
|
<!--模板--> |
|
|
<Window.Resources> |
|
|
<Window.Resources> |
|
|
<Style x:Key="RadioButtonStyle" TargetType="{x:Type RadioButton}"> |
|
|
<Style x:Key="RadioButtonStyle" TargetType="{x:Type RadioButton}"> |
|
|
|
|
|
|
|
|
@ -88,20 +93,36 @@ |
|
|
</Style> |
|
|
</Style> |
|
|
</Window.Resources> |
|
|
</Window.Resources> |
|
|
<Grid> |
|
|
<Grid> |
|
|
<Rectangle HorizontalAlignment="Left" Width="140" Margin="0,0,0,0" Fill="#FFCCCCCC"/> |
|
|
<!--工具栏--> |
|
|
|
|
|
<Rectangle HorizontalAlignment="Left" Width="140" Fill="#FFCCCCCC"/> |
|
|
|
|
|
|
|
|
|
|
|
<!--工具选项--> |
|
|
<RadioButton Content="查询" Tag="" HorizontalAlignment="Left" Height="55" Margin="0,190,0,0" VerticalAlignment="Top" Width="140" Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}" Checked="RadioButton_Checked"/> |
|
|
<RadioButton Content="查询" Tag="" HorizontalAlignment="Left" Height="55" Margin="0,190,0,0" VerticalAlignment="Top" Width="140" Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}" Checked="RadioButton_Checked"/> |
|
|
<RadioButton Content="统计" Tag="" HorizontalAlignment="Left" Height="55" Margin="0,245,0,0" VerticalAlignment="Top" Width="140" Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}" Checked="RadioButton_Checked"/> |
|
|
<RadioButton Content="统计" Tag="" HorizontalAlignment="Left" Height="55" Margin="0,245,0,0" VerticalAlignment="Top" Width="140" Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}" Checked="RadioButton_Checked"/> |
|
|
<RadioButton Content="原料" Tag="" HorizontalAlignment="Left" Height="55" Margin="0,300,0,0" VerticalAlignment="Top" Width="140" Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}" Checked="RadioButton_Checked"/> |
|
|
<RadioButton Content="原料" Tag="" HorizontalAlignment="Left" Height="55" Margin="0,300,0,0" VerticalAlignment="Top" Width="140" Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}" Checked="RadioButton_Checked"/> |
|
|
<RadioButton Content="退出" Tag="" HorizontalAlignment="Left" Height="55" Margin="0,0,0,50" VerticalAlignment="Bottom" Width="140" Background="#FFCCCCCC" Style="{DynamicResource Style}" Checked="Exit" /> |
|
|
<RadioButton Content="退出" Tag="" HorizontalAlignment="Left" Height="55" Margin="0,0,0,5" VerticalAlignment="Bottom" Width="140" Background="#FFCCCCCC" Style="{DynamicResource Style}" Checked="Exit" /> |
|
|
<RadioButton Content="信息" Tag="" HorizontalAlignment="Left" Height="55" Margin="0,0,0,105" VerticalAlignment="Bottom" Width="140" Background="#FFCCCCCC" Style="{DynamicResource Style}" Checked="Help" /> |
|
|
<RadioButton Content="信息" Tag="" HorizontalAlignment="Left" Height="55" Margin="0,0,0,60" VerticalAlignment="Bottom" Width="140" Background="#FFCCCCCC" Style="{DynamicResource Style}" Checked="Help" /> |
|
|
|
|
|
|
|
|
|
|
|
<!--LOGO--> |
|
|
<Rectangle HorizontalAlignment="Left" Height="120" Margin="10,10,0,0" VerticalAlignment="Top" Width="120"> |
|
|
<Rectangle HorizontalAlignment="Left" Height="120" Margin="10,10,0,0" VerticalAlignment="Top" Width="120"> |
|
|
<Rectangle.Fill> |
|
|
<Rectangle.Fill> |
|
|
<ImageBrush ImageSource="/Logo/sunlight_sc.png"/> |
|
|
<ImageBrush ImageSource="/Logo/sunlight_sc.png"/> |
|
|
</Rectangle.Fill> |
|
|
</Rectangle.Fill> |
|
|
</Rectangle> |
|
|
</Rectangle> |
|
|
<!--righe--> |
|
|
|
|
|
<Grid Grid.Column="1"> |
|
|
<!--自定义标题栏--> |
|
|
<ContentControl x:Name="container" Margin="140,0,0,0"/> |
|
|
<Border HorizontalAlignment="Stretch" Height="35" Margin="140,0,0,0" VerticalAlignment="Top" Background="#FFE6E6E6" /> |
|
|
|
|
|
<Button Content="➖" HorizontalAlignment="Right" Height="35" Margin="0,0,0,0" VerticalAlignment="Top" Width="40" Click="Button_Click" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="#FF100F0F" |
|
|
|
|
|
BorderThickness="0,0,0,0" FontSize="24" OpacityMask="#FFA4A4A4" WindowChrome.IsHitTestVisibleInChrome="True" VerticalContentAlignment="Center" Padding="0,0,0,0" FontWeight="Bold" FontStyle="Normal"/> |
|
|
|
|
|
<Button Content="Button" HorizontalAlignment="Left" Height="190" Margin="185,155,0,0" VerticalAlignment="Top" Width="250"/> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--用户窗体--> |
|
|
|
|
|
<Grid Grid.ColumnSpan="2"> |
|
|
|
|
|
<ContentControl x:Name="container" Margin="140,0,0,0"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ContentControl> |
|
|
</Grid> |
|
|
</Grid> |
|
|
</Grid> |
|
|
</Grid> |
|
|
</Window> |
|
|
</Window> |
|
|
|