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.
70 lines
4.0 KiB
XML
70 lines
4.0 KiB
XML
<Window x:Class="Aucma.Core.PrintTo.Views.MainWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
mc:Ignorable="d"
|
|
Title="澳柯玛条码打印系统"
|
|
d:DesignHeight="1920"
|
|
d:DesignWidth="1080"
|
|
Background="#1152AC"
|
|
FontFamily="Microsoft YaHei"
|
|
WindowStartupLocation="CenterScreen"
|
|
WindowState="Maximized"
|
|
WindowStyle="None"
|
|
>
|
|
<Border CornerRadius="5">
|
|
<Border.Effect>
|
|
<DropShadowEffect Color="Gray" ShadowDepth="0" BlurRadius="5" Opacity="0.3" Direction="0"></DropShadowEffect>
|
|
</Border.Effect>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="0.5*"/>
|
|
<RowDefinition Height="6*"/>
|
|
<RowDefinition Height="auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<DockPanel Grid.Row="0" VerticalAlignment="Top">
|
|
<StackPanel Height="100">
|
|
<StackPanel.Background>
|
|
<ImageBrush Stretch="Fill" ImageSource="/Assets/Images/headbg.png" />
|
|
</StackPanel.Background>
|
|
<StackPanel HorizontalAlignment="Center" Margin="0 3 0 0" >
|
|
<TextBlock Text="澳柯玛MES条码打印系统" Margin="0" Foreground="White" FontSize="42" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
|
</StackPanel>
|
|
<WrapPanel HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0 -30 20 0">
|
|
<!--<TextBlock x:Name="TestTB" Text="白班" VerticalAlignment="Center" Foreground="White" FontSize="25" Margin="5 0"/>
|
|
<TextBlock Text="|" VerticalAlignment="Center" Foreground="White" FontSize="15" />
|
|
<TextBlock x:Name="loginUser" Text="李四" VerticalAlignment="Center" Foreground="White" FontSize="25" Margin="5 0"/>-->
|
|
</WrapPanel>
|
|
</StackPanel>
|
|
</DockPanel>
|
|
|
|
<DockPanel Grid.Row="1">
|
|
<!--<ScrollViewer x:Name="MainScrollViewer"
|
|
materialDesign:ScrollViewerAssist.IsAutoHideEnabled="True">-->
|
|
<ContentControl Content="{Binding UserContent}" Height="auto" />
|
|
<!--</ScrollViewer>-->
|
|
</DockPanel>
|
|
|
|
<DockPanel Grid.Row="2">
|
|
<Border Margin="5" BorderBrush="#0288d1" BorderThickness="1" CornerRadius="5" HorizontalAlignment="Stretch" VerticalAlignment="Bottom">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<StackPanel Grid.Row="1" Height="60" Orientation="Horizontal" Margin="5 0" HorizontalAlignment="Left">
|
|
<Button Content="首 页" Margin="5 0" Height="40"/>
|
|
<Button Content="键 盘" x:Name="TabTip" Height="40" Margin="5 0" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=TabTip}" />
|
|
<Button Content="最小化" x:Name="Minimized" Height="40" Margin="5 0" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Minimized}" Width="100" Background="#FF9900" BorderBrush="#FF9900" />
|
|
<Button Content="退 出" x:Name="Exit" Height="40" Margin="5 0" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Exit}" Width="100" Background="#FF0033" BorderBrush="#FF0033" />
|
|
</StackPanel>
|
|
</Grid>
|
|
</Border>
|
|
</DockPanel>
|
|
</Grid>
|
|
</Border>
|
|
|
|
</Window>
|