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.

69 lines
3.8 KiB
XML

<Window x:Class="MaterialTraceabilityUI.UserLogin"
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:MaterialTraceabilityUI"
mc:Ignorable="d" ResizeMode="NoResize"
Title="登录RFID物料追溯系统" Height="350" Width="400" Icon="芯片.png">
<Border Margin="5" Background="White" CornerRadius="10">
<Border.Effect>
<DropShadowEffect Color="Gray" ShadowDepth="0" BlurRadius="5" Opacity="0.3" Direction="0"></DropShadowEffect>
</Border.Effect>
<Grid>
<Border Background="#007DFA" CornerRadius="10,10,0,0" Height="80" VerticalAlignment="Top"></Border>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="75"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!--左侧标题-->
<StackPanel Margin="1,1" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Image Source="Assets/Images/宁德LOG.png" Width="150"/>
<StackPanel Margin="15,15">
<TextBlock Text="RFID物料追溯系统" Foreground="White" FontSize="20"/>
<TextBlock Text="RFID material tracking system" Foreground="#88DDDDDD"/>
</StackPanel>
</StackPanel>
<StackPanel Grid.Row="1" Height="215">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="180"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<StackPanel Grid.Column="0" Margin="0,10" VerticalAlignment="Center" HorizontalAlignment="Center">
<Border Background="#007DFA" BorderBrush="#007DFA" BorderThickness="2" CornerRadius="15">
<Image Source="Assets/Images/芯片.png" Width="100" Height="90"/>
</Border>
</StackPanel>
<StackPanel Grid.Column="1" Margin="0,10" VerticalAlignment="Center">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="60"/>
<RowDefinition Height="60"/>
<RowDefinition Height="60"/>
</Grid.RowDefinitions>
<StackPanel Grid.Row="1" Orientation="Horizontal">
<Label Content="请刷卡" Width="50" VerticalAlignment="Center" HorizontalAlignment="Left"/>
<!--禁止复制粘贴-->
<PasswordBox Height="23" HorizontalAlignment="Left" Name="password" VerticalContentAlignment="Center" Width="120" PasswordChar="*" KeyDown="password_KeyDown">
<PasswordBox.CommandBindings>
<CommandBinding Command="ApplicationCommands.Paste" Executed="CommandBinding_Executed" CanExecute="CommandBinding_CanExecute"/>
</PasswordBox.CommandBindings>
</PasswordBox>
</StackPanel>
</Grid>
</StackPanel>
</Grid>
</StackPanel>
</Grid>
</Grid>
</Border>
</Window>