• WPF实现有动画效果的页面切换

    演示如何在多个page页面间进行切换,同时为Page增加淡入淡出(Fade)效果。 <Page x:Class="WpfApplication1.index" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="index"> <Page.Background> <ImageBrush ImageSource="Resources/pdc.jpg" Stretch="Fill"></ImageBrush> </Page.Background> <Canvas Height="512" Width="958"> <Image Source="Resources/clock256.png" Canvas.Left="567.313" Stretch="Fill" Width="80" Height="80.024" Canvas.Top="312.951" MouseLeftButtonDown="button1_Click" Cursor="Hand" /> <Image Source="Resources/music256.png" Canvas.Left="680" Canvas.Top="312.951" Height="80" Stretch="Fill" Width="80.024" MouseLeftButtonDown="button2_Click" Cursor="Hand" /> <Image Source="Resources/movie256.png" Canvas.Left="790" Canvas.Top="312.951" Height="80" Stretch="Fill" Width="80.024" MouseLeftButtonDown="button3_Click" Cursor="Hand" /> <Label Canvas.Left="147" Canvas.Top="218.637" Height="91" Name="label1" Width="242.93" Foreground="White" FontSize="60">How To</Label> <Label Canvas.Left="151" Canvas.Top="315.809" Height="28" Name="label2" Width="174.338" Foreground="White">演示如何在多Page间的切换</Label> <Label Canvas.Left="151" Canvas.Top="338" Height="28" Name="label3" Width="204.347" Foreground="White">同时,在Page切换间加入Fade过渡</Label> <Label Canvas.Left="151" Canvas.Top="362" Height="28" Name="label4" Width="204.347" Foreground="White">May it helps.</Label> <Label Canvas.Left="450" Canvas.Top="340" Height="28" Name="label5" Width="104.347" Foreground="White">点击打开新页面>></Label> </Canvas> </Page>

    0
    874
    1.56MB
    2017-09-17
    23
  • jstl语法的具体应用介绍

    关于jstl语法应用于普通的动态网页设计的编写基础知识,讲解JSTL的具体用法。。。。。。

    0
    36
    97KB
    2009-10-07
    3
关注 私信
上传资源赚积分or赚钱