|
|
|
|
<Window x:Class="XGL.LoginPage"
|
|
|
|
|
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"
|
|
|
|
|
mc:Ignorable="d"
|
|
|
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
|
|
xmlns:loadin="clr-namespace:LoadingIndicators.WPF;assembly=LoadingIndicators.WPF"
|
|
|
|
|
Title="Login" Height="500" Width="350" ResizeMode="NoResize" WindowStyle="None"
|
|
|
|
|
xmlns:customControlLibrary1="clr-namespace:WpfCustomControlLibrary1;assembly=WpfCustomControlLibrary1"
|
|
|
|
|
WindowStartupLocation="CenterScreen" MouseLeftButtonDown="Window_MouseLeftButtonDown" Loaded="Window_Loaded">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Rectangle Height="280" VerticalAlignment="Top">
|
|
|
|
|
<Rectangle.Fill>
|
|
|
|
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
|
|
<GradientStop Color="#FF2281D1"></GradientStop>
|
|
|
|
|
<GradientStop Color="#FF34268A" Offset="1"></GradientStop>
|
|
|
|
|
<GradientStop Color="#FF33288B" Offset="0.5"></GradientStop>
|
|
|
|
|
</LinearGradientBrush>
|
|
|
|
|
</Rectangle.Fill>
|
|
|
|
|
</Rectangle>
|
|
|
|
|
<!--<Image Source="Images/home.png" Width="100" Height="100" VerticalAlignment="Top" Margin="20"></Image>-->
|
|
|
|
|
<Label Foreground="White" FontSize="30" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,10,0,0">
|
|
|
|
|
<Label.Content>
|
|
|
|
|
<Image Source="/Resources/logo.png" Width="160" Height="50"/>
|
|
|
|
|
</Label.Content>
|
|
|
|
|
</Label>
|
|
|
|
|
<Rectangle Width="280" Height="240" Fill="White" VerticalAlignment="Bottom" Margin="0,100" RadiusY="19.112" RadiusX="19.112">
|
|
|
|
|
<Rectangle.Effect>
|
|
|
|
|
<DropShadowEffect Color="#FFBBBBBB" Direction="0" BlurRadius="15" RenderingBias="Quality" ShadowDepth="1"></DropShadowEffect>
|
|
|
|
|
</Rectangle.Effect>
|
|
|
|
|
</Rectangle>
|
|
|
|
|
<Grid Width="280" Height="240" VerticalAlignment="Bottom" Margin="0,100">
|
|
|
|
|
<!--<TextBlock Text="模具管理系统" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="5" Foreground="Gray" FontSize="18"></TextBlock>-->
|
|
|
|
|
<StackPanel VerticalAlignment="Center" Margin="10">
|
|
|
|
|
<TextBox x:Name="username" materialDesign:HintAssist.Hint="账号" Margin="0,10" FontFamily="Champagne & Limousines" FontSize="18"></TextBox>
|
|
|
|
|
<PasswordBox x:Name="userpwd" materialDesign:HintAssist.Hint="密码" Margin="0,10" FontFamily="Champagne & Limousines" FontSize="18"></PasswordBox>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<Button x:Name="btnCheckUpdate" Content="检查更新" Background="#0000" BorderThickness="0" RenderTransformOrigin="0.62,7.171" Margin="194,190,20,20" Foreground="Blue" Click="btnCheckUpdate_Click"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
<Button VerticalAlignment="Bottom" Background="#0454D7" IsDefault="True" BorderBrush="Transparent" x:Name="btnlogin" Margin="68,0,182,85" Width="100" Height="30" Content="登录" Click="btnlogin_Click"></Button>
|
|
|
|
|
<Button VerticalAlignment="Bottom" Background="#D7D7D7" Foreground="Black" BorderBrush="Transparent" x:Name="btnloginout" Margin="192,0,58,85" Width="100" Height="30" Content="退出" Click="btnloginout_Click" ></Button>
|
|
|
|
|
<CheckBox x:Name="rememberpwd" VerticalAlignment="Bottom" Background="#F6FBD9" Margin="48,0,0,126" Width="100" HorizontalAlignment="Left"
|
|
|
|
|
IsChecked="True">
|
|
|
|
|
记住密码
|
|
|
|
|
</CheckBox>
|
|
|
|
|
<Label Width="100" Height="30" VerticalContentAlignment="Center"/>
|
|
|
|
|
<!--<loadin:LoadingIndicator x:Name="dldh" Margin="156,434,154,26" SpeedRatio="1.5" IsActive="True" Style="{DynamicResource LoadingIndicatorArcsStyle}">
|
|
|
|
|
</loadin:LoadingIndicator>-->
|
|
|
|
|
<customControlLibrary1:CustomControl1 x:Name="dldh" Margin="156,434,154,26" Width="50" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
|
<Label x:Name="zzdl" HorizontalAlignment="Center" Margin="115,476,100,0" Content="正在登陆" Foreground="#0454D7"></Label>
|
|
|
|
|
<!--<TextBlock Text="ESQUECEU SUA SENHA?" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="50" Foreground="Gray" Cursor="Hand"></TextBlock>-->
|
|
|
|
|
<Label x:Name="lbVersion" Width="100" Content="1.000" Height="30" VerticalContentAlignment="Center" Margin="263,470,-13,0"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Window>
|