年度变更建库软件5.0版本
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

112 lines
7.9 KiB

6 months ago
<Window x:Class="Kingo.DataDTBJK.UCUserLogin"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
MaxHeight="500" MaxWidth="967" ResizeMode="NoResize" HorizontalAlignment="Center" VerticalAlignment="Center" WindowStyle="None" WindowStartupLocation="CenterScreen" ShowInTaskbar="False">
<!--<Grid>
<Border Grid.ColumnSpan="3" Grid.Row="1" BorderThickness="1" BorderBrush="Black" Background="Transparent">
<Grid>
<Grid.Background>
<ImageBrush ImageSource="/Images/SystemSelect/indexbg.jpg"/>
</Grid.Background>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="2*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="4*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<TextBlock x:Name="txtSubTitle" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Bottom" FontSize="35" Text="今 奥 单 图 斑 建 库 软 件 V1.0"/>
<StackPanel Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal" Margin="20,0,0,0">
<Label Content="用户名:" Width="60" VerticalAlignment="Center" HorizontalAlignment="Right" Foreground="#FF333338" FontSize="15" FontWeight="Bold"/>
<TextBox x:Name="txtUser" Width="150" MaxLength="20" />
<Label Content="密码:" Width="50" HorizontalAlignment="Right" Foreground="#FF333338" FontSize="15" HorizontalContentAlignment="Center" VerticalAlignment="Center" FontWeight="Bold"></Label>
<PasswordBox x:Name="txtPwd" Width="150" PasswordChar="*" MaxLength="16" VerticalContentAlignment="Center" ></PasswordBox>
<Button x:Name="btnLogin" Content="登录" Width="60" Margin="20,0,0,0" Click="btnLogin_Click"></Button>
</StackPanel>
</Grid>
</Border>
</Grid>-->
<Grid>
<Image Name="image" Stretch="Fill" Source="/Images/SystemSelect/NewStartUp_BG2.png"/>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="50"/>
<RowDefinition Height="80"/>
<RowDefinition Height="300"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="443"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Label Name="label1" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3" Content="今 奥 单 图 斑 建 库 软 件 V1.0" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalContentAlignment="Center" FontSize="35" FontStyle="Normal" FontWeight="Bold" />
<Border Grid.Row="2" Grid.Column="1" Background="White" CornerRadius="7">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="50"/>
<RowDefinition Height="50"/>
<RowDefinition Height="50"/>
<RowDefinition Height="60"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="351"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border BorderBrush="#4899FF" Grid.Column="1" Grid.Row="1" BorderThickness="1" Height="41" Width="351" CornerRadius="15">
<StackPanel Orientation="Horizontal">
<Image Grid.Row="1" Grid.Column="1" Source="/Images/SystemSelect/用户.png" Stretch="None" Margin="10,0,7,0"/>
<TextBox Width="290" Height="35" x:Name="txtUser" HorizontalContentAlignment="Left" BorderThickness="0" VerticalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="14" TabIndex="0">
<TextBox.Resources>
<VisualBrush x:Key="HelpBrush" TileMode="None" Opacity="0.3" Stretch="None" AlignmentX="Left">
<VisualBrush.Visual>
<TextBlock Text="请输入用户名" />
</VisualBrush.Visual>
</VisualBrush>
</TextBox.Resources>
<TextBox.Style>
<Style TargetType="TextBox">
<Style.Triggers>
<Trigger Property="Text" Value="{x:Null}">
<Setter Property="Background" Value="{StaticResource HelpBrush}"/>
</Trigger>
<Trigger Property="Text" Value="">
<Setter Property="Background" Value="{StaticResource HelpBrush}"/>
</Trigger>
</Style.Triggers>
</Style>
</TextBox.Style>
</TextBox>
</StackPanel>
</Border>
<Border BorderBrush="#4899FF" Grid.Column="1" Grid.Row="2" BorderThickness="1" Height="41" Width="351" CornerRadius="15">
<StackPanel Orientation="Horizontal">
<Image Grid.Row="1" Grid.Column="1" Source="/Images/SystemSelect/密码.png" Stretch="None" Margin="10,0,7,0"/>
<PasswordBox Width="290" Height="35" x:Name="txtPassword" HorizontalContentAlignment="Left" BorderThickness="0" BorderBrush="{x:Null}" PasswordChanged="TxtPassword_PasswordChanged" VerticalAlignment="Center" HorizontalAlignment="Left" VerticalContentAlignment="Center" FontSize="14" Margin="0,2" Panel.ZIndex="99" Background="Transparent" TabIndex="1"/>
<Label Content="请输入密码" x:Name="txtPwd" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="#9A9B9B" FontSize="14" Margin="-295,6,-295,5" Width="299" />
</StackPanel>
</Border>
<StackPanel Orientation="Horizontal" Grid.Column="1" Grid.Row="3" Margin="0,7,0,0">
<Border BorderBrush="Transparent" x:Name="btnLogin" Height="38" Width="150" Cursor="Hand" CornerRadius="15" MouseLeftButtonDown="BtnLogin_MouseLeftButtonDown">
<Border.Background>
<ImageBrush ImageSource="/Images/SystemSelect/dl.png" Stretch="UniformToFill"/>
</Border.Background>
</Border>
<Border BorderBrush="#4899FF" x:Name="butCancle" Height="38" Width="150" Cursor="Hand" CornerRadius="15" Margin="50,0,0,0" MouseLeftButtonDown="btnCancel_Click">
<Border.Background>
<ImageBrush ImageSource="/Images/SystemSelect/qx.png" Stretch="UniformToFill"/>
</Border.Background>
</Border>
</StackPanel>
</Grid>
</Border>
</Grid>
</Grid>
</Window>