Example #1
0
 void photonav_PlayPauseChanged(object sender, MyPhotoSlideshow.Classes.PlayPauseEventArgs e)
 {
     if (e.Status == Statuses.Playing)
     {
         photonav.MouseEnterImage -= photonav_MouseEnterImage;
     }
     else
     {
         photonav.MouseEnterImage += photonav_MouseEnterImage;
     }
 }
Example #2
0
 void photonav_PlayPauseChanged(object sender, MyPhotoSlideshow.Classes.PlayPauseEventArgs e)
 {
     if (e.Status == Statuses.Paused)
     {
         BigCanvas.Visibility = Visibility.Collapsed;
         BigImage.Visibility  = Visibility.Collapsed;
     }
     else if (e.Status == Statuses.Playing)
     {
         BigCanvas.MaxHeight       = this.ActualHeight - 30;
         BigCanvas.Height          = BigCanvas.MaxHeight;
         BigCanvas.Visibility      = Visibility.Visible;
         BigImage.Visibility       = Visibility.Visible;
         photonav.AutoGotoNextDate = true;
     }
 }