You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
148 lines
9.3 KiB
Plaintext
148 lines
9.3 KiB
Plaintext
|
2 years ago
|
<Window x:Class="XGL.MainWindow"
|
||
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
|
Title="悬挂链" Height="1080" Width="1920" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" WindowStyle="None" Loaded="Window_Loaded">
|
||
|
|
<Grid >
|
||
|
|
<Grid.RowDefinitions>
|
||
|
|
<RowDefinition Height="80"></RowDefinition>
|
||
|
|
<RowDefinition ></RowDefinition>
|
||
|
|
</Grid.RowDefinitions>
|
||
|
|
<Grid Grid.Row="0">
|
||
|
|
<Image Margin="4" Source="pack://siteoforigin:,,,/Resources/logo.png" HorizontalAlignment="Left" VerticalAlignment="Stretch" ></Image>
|
||
|
|
<Label Content="滚筒洗衣机悬挂链总装一线" HorizontalAlignment="Left" Margin="520,25,0,0" VerticalAlignment="Top"/>
|
||
|
|
<Label Content="Label" HorizontalAlignment="Left" Margin="585,58,0,0" VerticalAlignment="Top"/>
|
||
|
|
|
||
|
|
|
||
|
|
</Grid>
|
||
|
|
<Border x:Name="MainContent" Grid.Row="1" />
|
||
|
|
|
||
|
|
<!--<Grid Grid.Row="2" Height="90" Background="#242829" VerticalAlignment="Bottom">
|
||
|
|
<Grid Margin="0,-30,0,0">
|
||
|
|
<Grid.ColumnDefinitions>
|
||
|
|
<ColumnDefinition></ColumnDefinition>
|
||
|
|
<ColumnDefinition></ColumnDefinition>
|
||
|
|
<ColumnDefinition></ColumnDefinition>
|
||
|
|
<ColumnDefinition></ColumnDefinition>
|
||
|
|
<ColumnDefinition></ColumnDefinition>
|
||
|
|
<ColumnDefinition></ColumnDefinition>
|
||
|
|
<ColumnDefinition></ColumnDefinition>
|
||
|
|
<ColumnDefinition></ColumnDefinition>
|
||
|
|
<ColumnDefinition></ColumnDefinition>
|
||
|
|
<ColumnDefinition></ColumnDefinition>
|
||
|
|
</Grid.ColumnDefinitions>
|
||
|
|
<Button Grid.Column="0" Name="btnDefaultPage" Visibility="Visible" HorizontalAlignment="Center" VerticalAlignment="Center" Width="80" Height="80" BorderThickness="0" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" BorderBrush="#FF505356" Click="btnDefaultPage_Click" >
|
||
|
|
<Button.Template>
|
||
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
||
|
|
<Border BorderBrush="{TemplateBinding Control.BorderBrush}" Margin="0,0,0,0" BorderThickness="0" CornerRadius="13,13,3,3" Name="PART_Background">
|
||
|
|
<ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Bottom" />
|
||
|
|
</Border>
|
||
|
|
<ControlTemplate.Triggers>
|
||
|
|
<Trigger Property="IsDefaulted" Value="True">
|
||
|
|
<Setter Property="Border.Background" TargetName="PART_Background">
|
||
|
|
<Setter.Value>
|
||
|
|
<ImageBrush ImageSource="pack://siteoforigin:,,,/Resources/icon_3_03.png" Stretch="Fill" ></ImageBrush>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
|
||
|
|
</Trigger>
|
||
|
|
<Trigger Property="ButtonBase.IsFocused" Value="True">
|
||
|
|
<Setter Property="Border.Background" TargetName="PART_Background">
|
||
|
|
<Setter.Value>
|
||
|
|
<ImageBrush ImageSource="pack://siteoforigin:,,,/Resources/btnBg.png"></ImageBrush>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
<Setter TargetName="PART_Background" Property="RenderTransform" >
|
||
|
|
<Setter.Value>
|
||
|
|
<ScaleTransform ScaleY="1.2" ScaleX="1.2" CenterY="50" CenterX="30" />
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
|
||
|
|
</Trigger>
|
||
|
|
<Trigger Property="UIElement.IsMouseOver" Value="True">
|
||
|
|
<Setter TargetName="PART_Background" Property="RenderTransform" >
|
||
|
|
<Setter.Value>
|
||
|
|
<ScaleTransform ScaleY="1.2" ScaleX="1.2" CenterY="50" CenterX="30" />
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
</Trigger>
|
||
|
|
|
||
|
|
<Trigger Property="ButtonBase.IsPressed" Value="True">
|
||
|
|
<Setter Property="UIElement.Effect">
|
||
|
|
<Setter.Value>
|
||
|
|
<DropShadowEffect BlurRadius="10" Color="Black" Direction="0" Opacity="0.6" RenderingBias="Performance" ShadowDepth="0" />
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
</Trigger>
|
||
|
|
</ControlTemplate.Triggers>
|
||
|
|
|
||
|
|
</ControlTemplate>
|
||
|
|
</Button.Template>
|
||
|
|
<StackPanel>
|
||
|
|
<Image Source="pack://siteoforigin:,,,/Resources/icon_3_03.png" RenderTransformOrigin="0.578,-0.5" Height="43" Width="43"/>
|
||
|
|
<TextBlock HorizontalAlignment="Center"><Run Text="首页" Foreground="White" FontSize="15"/></TextBlock>
|
||
|
|
</StackPanel>
|
||
|
|
</Button>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<Button Grid.Column="1" Name="btnDianJian" Visibility="Visible" HorizontalAlignment="Center" VerticalAlignment="Center" Width="80" Height="80" BorderThickness="0" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" BorderBrush="#FF505356" Click="btnDianJian_Click">
|
||
|
|
<Button.Template>
|
||
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
||
|
|
<Border BorderBrush="{TemplateBinding Control.BorderBrush}" Margin="0,0,0,0" BorderThickness="0" CornerRadius="13,13,3,3" Name="PART_Background">
|
||
|
|
<ContentPresenter Content="{TemplateBinding ContentControl.Content}" HorizontalAlignment="Center" VerticalAlignment="Bottom" />
|
||
|
|
</Border>
|
||
|
|
<ControlTemplate.Triggers>
|
||
|
|
<Trigger Property="IsDefaulted" Value="True">
|
||
|
|
<Setter Property="Border.Background" TargetName="PART_Background">
|
||
|
|
<Setter.Value>
|
||
|
|
<ImageBrush ImageSource="pack://siteoforigin:,,,/Resources/icon_01.png" Stretch="Fill" ></ImageBrush>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
|
||
|
|
</Trigger>
|
||
|
|
<Trigger Property="ButtonBase.IsFocused" Value="True">
|
||
|
|
<Setter Property="Border.Background" TargetName="PART_Background">
|
||
|
|
<Setter.Value>
|
||
|
|
<ImageBrush ImageSource="pack://siteoforigin:,,,/Resources/btnBg.png"></ImageBrush>
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
<Setter TargetName="PART_Background" Property="RenderTransform" >
|
||
|
|
<Setter.Value>
|
||
|
|
<ScaleTransform ScaleY="1.2" ScaleX="1.2" CenterY="50" CenterX="30" />
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
|
||
|
|
</Trigger>
|
||
|
|
<Trigger Property="UIElement.IsMouseOver" Value="True">
|
||
|
|
<Setter TargetName="PART_Background" Property="RenderTransform" >
|
||
|
|
<Setter.Value>
|
||
|
|
<ScaleTransform ScaleY="1.2" ScaleX="1.2" CenterY="50" CenterX="30" />
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
</Trigger>
|
||
|
|
|
||
|
|
<Trigger Property="ButtonBase.IsPressed" Value="True">
|
||
|
|
<Setter Property="UIElement.Effect">
|
||
|
|
<Setter.Value>
|
||
|
|
<DropShadowEffect BlurRadius="10" Color="Black" Direction="0" Opacity="0.6" RenderingBias="Performance" ShadowDepth="0" />
|
||
|
|
</Setter.Value>
|
||
|
|
</Setter>
|
||
|
|
</Trigger>
|
||
|
|
</ControlTemplate.Triggers>
|
||
|
|
|
||
|
|
</ControlTemplate>
|
||
|
|
</Button.Template>
|
||
|
|
<StackPanel>
|
||
|
|
<Image Source="pack://siteoforigin:,,,/Resources/icon_3_17.png" RenderTransformOrigin="0.578,-0.5" Height="43" Width="43"/>
|
||
|
|
<TextBlock HorizontalAlignment="Center"><Run Text="人员列表" Foreground="White" FontSize="15"/></TextBlock>
|
||
|
|
</StackPanel>
|
||
|
|
</Button>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</Grid>
|
||
|
|
</Grid>-->
|
||
|
|
</Grid>
|
||
|
|
</Window>
|