MainWindow.xaml
(完整代码) 4KB<Window x:Class="WPFMathActivity.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="登录" Height="350" Width="360" WindowStyle="None" AllowsTransparency="True" ResizeMode="NoResize" Background="Transparent" Icon="/Images/logo32.ico" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded" MouseDown="Window_MouseDown">
<Window.Resources>
<Storyboard x:Key="cloudMove" RepeatBehavior="Forever">
<!--白云移动-->
<DoubleAnimation BeginTime="00:00:00" Duration="00:00:20" From="0" To="200" Storyboard.TargetProperty="X" Storyboard.TargetName="igCloud1" AutoReverse="False"/>
<!--白云透明度-->
<DoubleAnimation BeginTime="00:00:00" Duration="00:00:14" From="0.8" To="0.1" AutoReverse="False" Storyboard.TargetName="imgCloud1" Storyboard.TargetProperty="Opacity"/>
<!--白云移动-->
<DoubleAnimation BeginTime="00:00:00" Duration="00:00:20" From="0" To="200" Storyboard.TargetProperty="X" Storyboard.TargetName="igCloud2" AutoReverse="False"/>
<!--白云透明度-->
<DoubleAnimation BeginTime="00:00:00" Duration="00:00:14" From="0.8" To="0.1" AutoReverse="False" Storyboard.TargetName="imgCloud2" Storyboard.TargetProperty="Opacity"/>
</Storyboard>
</Window.Resources>
<Grid Margin="0,50,0,0" Background="White">
<Border CornerRadius="5" BorderThickness="0" Height="246">
<Border.Background>
<ImageBrush ImageSource="Images/loginbody.png" Opacity="0.9"/>
</Border.Background>
</Border>
<Grid Width="360" Height="100" Margin="-11,0,-11,208">
<Grid.Background>
<ImageBrush ImageSource="Images/titlebackground.png" />
</Grid.Background>
<Image Source="Images/Sun2.png" Width="105" Height="53" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="20,20,0,0"/>
<Image Source="Images/cloud.png" Width="190" Height="50" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="172,-7,0,0" x:Name="imgCloud1">
<Image.RenderTransform>
<TransformGroup>
<TranslateTransform x:Name="igCloud1"/>
</TransformGroup>
</Image.RenderTransform>
</Image>
<Image Source="Images/cloud.png" Width="190" Height="50" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="-26,11,0,0" x:Name="imgCloud2">
<Image.RenderTransform>
<TransformGroup>
<TranslateTransform x:Name="igCloud2"/>
</TransformGroup>
</Image.RenderTransform>
</Image>
<Image Source="Images/close0.png" Opacity="0.6" Width="22" Height="22" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,10,0,0" Tag="close" MouseEnter="Image_MouseEnter" MouseLeave="Image_MouseLeave" MouseLeftButtonDown="Image_MouseLeftButtonDown"/>
<Image Source="Images/mini0.png" Opacity="0.6" Width="22" Height="22" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,10,25,0" Tag="mini" MouseEnter="Image_MouseEnter" MouseLeave="Image_MouseLeave" MouseLeftButtonDown="Image_MouseLeftButtonDown" />
</Grid>
<Label Content="账号" Foreground="#99F8F8F8" FontSize="15" Margin="30,132,29,0" />
<Label Content="密码" Foreground="#99F8F8F8" FontSize="15" Margin="30,182,29,0" />
<TextBox Width="242" Height="30" x:Name="txtName" Margin="67,-10,29,0" FontWeight="Bold" BorderBrush="#99DFE6EB" Foreground="#99F8F8F8" Background="{x:Null}"/>
<PasswordBox Width="242" Height="30" x:Name="txtPass" Margin="67,90,29,0" FontWeight="Bold" BorderBrush="#99DFE6EB" Foreground="#99F8F8F8" Background="{x:Null}"/>
<Button Width="80" Height="30" Style="{DynamicResource NoResize_button}" Margin="57,206,201,25" Content="登录" Tag="login" Click="Button_Click" />
<Button Width="80" Height="30" Style="{DynamicResource NoResize_button}" Margin="162,206,96,25" Content="取消" Tag="concel" Click="Button_Click" />
<CheckBox Content="记住密码" Foreground="#99F8F8F8" Width="80" Height="30" Margin="258,214,0,17"/>
</Grid>
</Window>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。