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.

68 lines
4.2 KiB
Plaintext

3 months ago
<Window x:Class="SlnMesnac.WPF.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:local="clr-namespace:SlnMesnac.WPF"
mc:Ignorable="d"
Title="工业高频RFID" Height="1080" Width="1920"
WindowState="Maximized" Topmost="False" Background="#ECF5F8" Icon="/Icon.png" >
<!--WindowStyle="None" ResizeMode="NoResize"-->
3 months ago
<Border Margin="5" Background="Transparent" CornerRadius="10">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
<RowDefinition Height="12*"/>
3 months ago
</Grid.RowDefinitions>
<Border Grid.Row="0" Background="#194B9F">
3 months ago
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
3 months ago
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="6*"/>
3 months ago
</Grid.ColumnDefinitions>
<Border Grid.Column="0" Background="#1352B2">
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBlock Text="MESNAC" FontSize="24" Foreground="White" FontFamily="四圆黑" FontWeight="Bold"/>
<TextBlock Text=" 海威物联" FontSize="18" Foreground="White" FontFamily="四圆黑" FontWeight="Bold"/>
</StackPanel>
</Border>
<Border Grid.Column="1" Background="Transparent">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
<TextBlock Text="工业高频RFID" FontSize="18" Foreground="White" FontFamily="四圆黑" FontWeight="Bold" Margin="20,0,0,0"/>
</StackPanel>
</Border>
<Border Grid.Column="2" Background="#0A56C7">
<Button HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="60" Background="Transparent" BorderBrush="Transparent"
x:Name="Index" Command="{Binding ControlOnClickCommand}" CommandParameter="{Binding Name,ElementName=Index}">
<Button.Content>
<StackPanel Orientation="Horizontal">
<TextBlock FontFamily="/Templates/fonts/font_5w2octy6l1q/#iconfont" Text="&#xe669;" FontSize="18" Foreground="White" FontWeight="Bold"/>
<TextBlock Text="首页" FontSize="18" Foreground="White" FontFamily="四圆黑" FontWeight="Bold" Margin="5,0"/>
</StackPanel>
</Button.Content>
</Button>
</Border>
<Border Grid.Column="3" Background="Transparent">
<Button HorizontalAlignment="Right" VerticalAlignment="Stretch" Height="60" Background="Transparent" BorderBrush="Transparent"
x:Name="Set" Command="{Binding ControlOnClickCommand}" CommandParameter="{Binding Name,ElementName=Set}">
<Button.Content>
<StackPanel Orientation="Horizontal">
<TextBlock FontFamily="/Templates/fonts/font_5w2octy6l1q/#iconfont" Text="&#xf018f;" FontSize="18" Foreground="White" FontWeight="Bold" Margin="0,1,0,0"/>
<TextBlock Text="设置" FontSize="18" Foreground="White" FontWeight="Bold" Margin="5,0,20,0"/>
</StackPanel>
</Button.Content>
</Button>
</Border>
3 months ago
</Grid>
</Border>
<Border Grid.Row="1" Background="Transparent">
3 months ago
<ContentControl Content="{Binding UserContent}"/>
</Border>
</Grid>
3 months ago
</Border>
</Window>