基本信息
源码名称:WPF 信息管理系统界面(不含业务逻辑)
源码大小:2.04M
文件格式:.zip
开发语言:C#
更新时间:2015-05-01
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):78630559
本次赞助数额为: 2 元×
微信扫码支付:2 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
注意:该实例不含任何业务逻辑,无点击事件效果,仅仅是wpf图片效果展示
<Window
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:Anno="http://schemas.microsoft.com/expression/blend/extensions/annotations/2008" mc:Ignorable="d Anno"
x:Class="WpfApplication71.MainWindow"
x:Name="Window"
Title="MainWindow"
Width="900" Height="630"
WindowStyle="None"
ResizeMode="NoResize" WindowStartupLocation="CenterScreen" AllowsTransparency="True" Background="{x:Null}" Foreground="{x:Null}" Topmost="True">
<Window.Resources>
<Storyboard x:Key="Storyboard1">
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="wind">
<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Static Visibility.Hidden}"/>
</ObjectAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ellipse">
<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.5"/>
<EasingDoubleKeyFrame KeyTime="0:0:1.7" Value="0"/>
<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="rectangle">
<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.7"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="rectangle1">
<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0.7"/>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="grid">
<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
<EasingDoubleKeyFrame KeyTime="0:0:2" Value="402">
<EasingDoubleKeyFrame.EasingFunction>
<CubicEase EasingMode="EaseOut"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="grid1">
<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
<EasingDoubleKeyFrame KeyTime="0:0:2" Value="-440">
<EasingDoubleKeyFrame.EasingFunction>
<CubicEase EasingMode="EaseOut"/>
</EasingDoubleKeyFrame.EasingFunction>
</EasingDoubleKeyFrame>
</DoubleAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ellipse">
<DiscreteObjectKeyFrame KeyTime="0:0:1" Value="{x:Static Visibility.Visible}"/>
<DiscreteObjectKeyFrame KeyTime="0:0:2" Value="{x:Static Visibility.Hidden}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</Window.Resources>
<Window.Triggers>
<EventTrigger RoutedEvent="ButtonBase.Click" SourceName="after_Copy">
<BeginStoryboard Storyboard="{StaticResource Storyboard1}"/>
</EventTrigger>
</Window.Triggers>
<Grid x:Name="LayoutRoot" Margin="0">
<Grid x:Name="grid" Margin="-8.377,231.5,-12.377,-2.5" RenderTransformOrigin="0.5,0.5">
<Grid.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Grid.RenderTransform>
<Path Data="M0,432 L0,631.5 903.5,631.5 903.5,231.5" Fill="Black" Margin="6.877,-1.833,9.377,1.833" Stretch="Fill" Stroke="Black">
<Anno:AnnotationManager.Annotations>
<Anno:Annotation AuthorInitials="孙志明" Author="孙志明" Left="820" SerialNumber="1" Top="288" Timestamp="06/06/2014 03:06:40" Text="可以在开过程中蹦出球体、阳光等特效,如参考图效果。"/>
</Anno:AnnotationManager.Annotations>
</Path>
<Rectangle x:Name="rectangle" Height="6.438" Margin="0,99.947,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5" Opacity="0.2">
<Rectangle.Fill>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<LinearGradientBrush.RelativeTransform>
<TransformGroup>
<ScaleTransform CenterY="0.5" CenterX="0.5"/>
<SkewTransform CenterY="0.5" CenterX="0.5"/>
<RotateTransform CenterY="0.5" CenterX="0.5" Angle="90"/>
<TranslateTransform/>
</TransformGroup>
</LinearGradientBrush.RelativeTransform>
<GradientStop Color="Black"/>
<GradientStop Color="Black" Offset="1"/>
<GradientStop Color="#FFBABABA" Offset="0.517"/>
</LinearGradientBrush>
</Rectangle.Fill>
<Rectangle.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform Angle="-12.499"/>
<TranslateTransform/>
</TransformGroup>
</Rectangle.RenderTransform>
</Rectangle>
</Grid>
<Grid x:Name="grid1" Margin="-8.377,-1.167,-12.377,198.167" RenderTransformOrigin="0.5,0.5">
<Grid.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Grid.RenderTransform>
<Path Data="M0,0 L0,431.5 903.5,231.5 903.5,-0.5" Fill="Black" Stretch="Fill" Stroke="Black" Margin="7.043,-0.25,9.211,0.25"/>
<Rectangle x:Name="rectangle1" Margin="-0.333,0,0.333,101.448" RenderTransformOrigin="0.5,0.5" Height="6.438" VerticalAlignment="Bottom" Opacity="0.2">
<Rectangle.Fill>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<LinearGradientBrush.RelativeTransform>
<TransformGroup>
<ScaleTransform CenterY="0.5" CenterX="0.5"/>
<SkewTransform CenterY="0.5" CenterX="0.5"/>
<RotateTransform CenterY="0.5" CenterX="0.5" Angle="90"/>
<TranslateTransform/>
</TransformGroup>
</LinearGradientBrush.RelativeTransform>
<GradientStop Color="Black"/>
<GradientStop Color="Black" Offset="1"/>
<GradientStop Color="#FFC4C4C4" Offset="0.517"/>
</LinearGradientBrush>
</Rectangle.Fill>
<Rectangle.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform Angle="-12.499"/>
<TranslateTransform/>
</TransformGroup>
</Rectangle.RenderTransform>
</Rectangle>
</Grid>
<Ellipse x:Name="ellipse" Margin="168.638,118.004,97.359,92.095" RenderTransformOrigin="0.5,0.5" Opacity="0">
<Ellipse.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform Angle="-12.041"/>
<TranslateTransform/>
</TransformGroup>
</Ellipse.RenderTransform>
<Ellipse.Fill>
<RadialGradientBrush>
<GradientStop Offset="1"/>
<GradientStop Color="White"/>
<GradientStop Color="#66FFFFFF" Offset="0.5"/>
</RadialGradientBrush>
</Ellipse.Fill>
</Ellipse>
<Grid x:Name="wind" Margin="269.5,200.5,293.5,192.5">
<Grid.RowDefinitions>
<RowDefinition Height="80"/>
<RowDefinition/>
<RowDefinition Height="auto" MinHeight="60.814"/>
</Grid.RowDefinitions>
<Button x:Name="quite" Content="关闭" Width="40" Height="30.28" Cursor="Hand" Background="White" BorderBrush="#FF9B9B9B" Opacity="0.5" Click="quite_Click" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,-184.5,-281.5,0"/>
<TextBlock x:Name="textBlock" Text="用户登录" FontSize="36" FontFamily="YouYuan" VerticalAlignment="Center" Foreground="#FFD44015" Margin="90,0" HorizontalAlignment="Center"/>
<Grid Margin="30,8,47,0" Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto" />
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto" MinHeight="62.813"/>
</Grid.RowDefinitions>
<TextBlock x:Name="textBlock1" Grid.Column="0" Grid.Row="0" Text="用户名:" FontSize="16" VerticalAlignment="Center" FontFamily="YouYuan" Foreground="White" Margin="-0.334,0,0.334,0"/>
<TextBox x:Name="textBox" Grid.Column="1" Grid.Row="0" Margin="3,4,0,4" FontSize="24" Opacity="0.9" Height="34"/>
<TextBlock x:Name="textBlock2" Grid.Column="0" Grid.Row="1" Text="密码:" FontSize="16" HorizontalAlignment="Right" FontFamily="YouYuan" Foreground="White" Margin="0,19,0,26.186" d:LayoutOverrides="Height"/>
<PasswordBox x:Name="passwordBox" Grid.Column="1" Grid.Row="1" Margin="3,10,0,0" FontSize="24" Opacity="0.9" Height="34" VerticalAlignment="Top"/>
</Grid>
<Button x:Name="after" Content="设置" Grid.Row="2" HorizontalAlignment="Right" Margin="0,22,47,8" Width="73.5" FontSize="20" Cursor="Hand" />
<Button x:Name="after_Copy" Grid.Row="2" Margin="96.5,22,167.5,8" FontSize="20" Cursor="Hand" Content="登录" Click="after_Copy_Click" />
</Grid>
<Canvas Margin="176,64,180,150"/>
</Grid>
</Window>