motorTest/FeiYu/SoftSelect.xaml
2026-10-17 11:39:30 +08:00

71 lines
5.6 KiB
XML

<Window x:Class="FeiYu.SoftSelect"
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:FeiYu"
mc:Ignorable="d"
Title="登入" Height="350" Width="366" WindowStyle="None" AllowsTransparency="True" ResizeMode="NoResize" Background="Transparent" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded" MouseDown="Window_MouseDown" Icon="Resources\LoginTip\logo1.ico">
<Window.Resources>
<Storyboard x:Key="leafLeave" RepeatBehavior="Forever">
<!--小树叶动画-->
<DoubleAnimation BeginTime="00:00:00" AutoReverse="True" Duration="00:00:02" From="0" To="10" Storyboard.TargetProperty="Angle" Storyboard.TargetName="igSmallLeaf">
</DoubleAnimation>
<!--大树叶动画-->
<DoubleAnimation BeginTime="00:00:00" AutoReverse="True" Duration="00:00:02" From="15" To="-15" Storyboard.TargetProperty="Angle" Storyboard.TargetName="igBigLeaf">
</DoubleAnimation>
</Storyboard>
<Storyboard x:Key="cloudMove" RepeatBehavior="Forever">
<!--白云移动-->
<DoubleAnimation BeginTime="00:00:00" Duration="00:00:20" From="0" To="200" Storyboard.TargetProperty="X" Storyboard.TargetName="igCloud" AutoReverse="False">
</DoubleAnimation>
<!--白云透明度-->
<DoubleAnimation BeginTime="00:00:00" Duration="00:00:14" From="0.8" To="0.1" AutoReverse="False" Storyboard.TargetName="imgCloud" Storyboard.TargetProperty="Opacity">
</DoubleAnimation>
</Storyboard>
</Window.Resources>
<Grid Margin="0,50,0,0">
<Border CornerRadius="5" BorderThickness="0" Height="246">
<Border.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FF070741" Offset="0"></GradientStop>
<GradientStop Color="#FF06062B" Offset="0.415" />
<GradientStop Color="#FF03032B" Offset="0.989" />
<GradientStop Color="#FF0B0B4E" Offset="0.204" />
</LinearGradientBrush>
</Border.Background>
</Border>
<Label Content="善易机械" Foreground="White" FontWeight="Bold" Margin="0,40,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"></Label>
<Image Source="Resources\LoginTip\Sun2.png" Width="105" Height="53" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="-6,-25,0,0"></Image>
<Image Source="Resources\LoginTip\yezi2.png" HorizontalAlignment="Left" VerticalAlignment="Top"></Image>
<Image Source="Resources\LoginTip\yezi3.png" Width="68" Height="65" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="117,46,0,0">
<Image.RenderTransform>
<TransformGroup>
<RotateTransform x:Name="igSmallLeaf"></RotateTransform>
</TransformGroup>
</Image.RenderTransform>
</Image>
<Image Source="Resources\LoginTip\yezi3.png" Width="40" Height="42" Margin="57,40,0,0" HorizontalAlignment="Left" VerticalAlignment="Top">
<Image.RenderTransform>
<TransformGroup>
<RotateTransform x:Name="igBigLeaf"></RotateTransform>
</TransformGroup>
</Image.RenderTransform>
</Image>
<Image Source="Resources\LoginTip\cloud.png" Width="190" Height="50" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,-25" x:Name="imgCloud">
<Image.RenderTransform>
<TransformGroup>
<TranslateTransform x:Name="igCloud"></TranslateTransform>
</TransformGroup>
</Image.RenderTransform>
</Image>
<Image Source="Resources\LoginTip\close0.png" Width="22" Height="22" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,50,0,0" MouseEnter="Image_MouseEnter" MouseLeave="Image_MouseLeave" Tag="close" MouseLeftButtonDown="Image_MouseLeftButtonDown"></Image>
<Image Source="Resources\LoginTip\mini0.png" Width="22" Height="22" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,50,25,0" MouseEnter="Image_MouseEnter" MouseLeave="Image_MouseLeave" Tag="mini" MouseLeftButtonDown="Image_MouseLeftButtonDown"/>
<TextBox Text="请选择对应的机器软件" FontSize="25" FontFamily="楷体" FontWeight="Bold" Width="280" Height="50" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Foreground="White" VerticalAlignment="Center" Margin="0,-10,0,0" Background="{x:Null}" BorderBrush="{x:Null}" ></TextBox>
<ComboBox Name="comb" Width="280" Height="30" HorizontalAlignment="Center" VerticalContentAlignment="Center" Margin="43,174,43,96" Background="Transparent" Foreground="White" ItemsSource="{Binding SystemList}" SelectedItem="{Binding SystemSelectItems}" DisplayMemberPath="CommonName"></ComboBox>
<Button Name="butLogin" Width="200" Height="30" Margin="126,210,40,60" Content="确定" Style="{StaticResource styleButton}" IsDefault="True" FontSize="22" FontFamily="楷体" Click="butLogin_Click"/>
<Button Name="btnKeep" Margin="42,210,245,60" Style="{StaticResource styleButton}" Height="30" Content="取消" FontFamily="楷体" FontSize="22" Click="btnKeep_Click"/>
<TextBlock Name="showstr" Margin="45,0,0,33" HorizontalAlignment="Left" VerticalAlignment="Bottom" Text="{Binding LoginShowstr}" FontSize="20" Foreground="Red"></TextBlock>
</Grid>
</Window>