// Constructor
 public MainPage()
 {
     InitializeComponent();
     PageFlip.Begin();
     FadeOut.Completed += new EventHandler(FadeOut_Completed);
     FadeIn.Completed  += new EventHandler(FadeIn_Completed);
     this.Loaded       += new RoutedEventHandler(MainPage_Loaded);
 }
Exemplo n.º 2
0
 public SimpleAnimation()
 {
     InitializeComponent();
     PageFlip.Begin();
     currentTextBlock   = PageTitle;
     FadeOut.Completed += new EventHandler(FadeOut_Completed);
     FadeIn.Completed  += new EventHandler(FadeIn_Completed);
     FadeOut.Begin();
 }