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.
84 lines
5.9 KiB
XML
84 lines
5.9 KiB
XML
<Window x:Class="XGLFinishPro.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:hc="https://handyorg.github.io/handycontrol"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
xmlns:loadin="clr-namespace:LoadingIndicators.WPF;assembly=LoadingIndicators.WPF"
|
|
Title="Login" Height="530" Width="350" ResizeMode="NoResize" WindowStyle="None"
|
|
xmlns:customControlLibrary1="clr-namespace:WpfCustomControlLibrary1;assembly=WpfCustomControlLibrary1"
|
|
WindowStartupLocation="CenterScreen" MouseLeftButtonDown="Window_MouseLeftButtonDown" Loaded="Window_Loaded">
|
|
<Window.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<hc:ThemeResources />
|
|
<hc:Theme />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</Window.Resources>
|
|
<Grid>
|
|
|
|
<Rectangle Height="300" 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" Width="160" Height="60" Background="Transparent" BorderThickness="0">
|
|
<Label.Content>
|
|
<Image Source="/Resources/logo.png" Width="160" Height="50"/>
|
|
</Label.Content>
|
|
</Label>
|
|
<Rectangle Width="280" Height="290" 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,150">
|
|
<!--<TextBlock Text="模具管理系统" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="5" Foreground="Gray" FontSize="18"></TextBlock>-->
|
|
<StackPanel VerticalAlignment="Center" Margin="10">
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Text="用户: " VerticalAlignment="Center"/>
|
|
<TextBox x:Name="username" materialDesign:HintAssist.Hint="账号" Margin="0,5" FontFamily="Champagne & Limousines" FontSize="18" Width="210"></TextBox>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Text="密码: " VerticalAlignment="Center"/>
|
|
<PasswordBox x:Name="userpwd" materialDesign:HintAssist.Hint="密码" Margin="0,10" FontFamily="Champagne & Limousines" FontSize="18" Width="210"></PasswordBox>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Text="班次: " VerticalAlignment="Center"/>
|
|
<ComboBox x:Name="comboBoxShift" Margin="0,5" Width="210"/>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Text="工作日: " VerticalAlignment="Center"/>
|
|
<DatePicker x:Name="datepickerWorkDate" Margin="0,8" Width="210"/>
|
|
</StackPanel>
|
|
<!--<ComboBox x:Name="comboBoxTeam" Margin="0,5" Width="210"/>-->
|
|
</StackPanel>
|
|
|
|
</Grid>
|
|
<Button VerticalAlignment="Bottom" Background="#0454D7" IsDefault="True" BorderBrush="Transparent" x:Name="btnlogin" Margin="68,0,182,85" Width="100" Height="30" Foreground="White" FontWeight="Bold" FontSize="16" Content="登录" Click="btnlogin_Click"></Button>
|
|
<Button VerticalAlignment="Bottom" Background="#D7D7D7" Foreground="Black" BorderBrush="Transparent" x:Name="btnloginout" Margin="192,0,58,85" Width="100" FontWeight="Bold" FontSize="16" Height="30" Content="退出" Click="btnloginout_Click" ></Button>
|
|
<CheckBox x:Name="rememberpwd" VerticalAlignment="Bottom" Background="Black" Margin="48,0,0,126" Width="100" HorizontalAlignment="Left"
|
|
IsChecked="True">
|
|
记住密码
|
|
</CheckBox>
|
|
<Button x:Name="btnCheckUpdate" Content="检查更新" Background="#0000" BorderThickness="0" RenderTransformOrigin="0.62,7.171" Margin="194,280,20,20" Foreground="Blue" Click="btnCheckUpdate_Click"/>
|
|
|
|
<!--<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="159,454,140,20" Width="60" Height="50" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
<Label x:Name="zzdl" HorizontalAlignment="Center" Margin="115,506,100,0" Content="正在登陆" Foreground="#0454D7" BorderThickness="0"></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" BorderThickness="0" Margin="263,506,13,0"/>
|
|
</Grid>
|
|
</Window>
|