src/FingersDance.Control.Player/UserControlPlayer.xaml.cs
changeset 5 b18627685565
parent 3 4f1ea403073d
child 10 e8bfe1102e03
equal deleted inserted replaced
4:7b7f95dc9027 5:b18627685565
    63                 try
    63                 try
    64                 {
    64                 {
    65                     MediaElementVideo.Play();
    65                     MediaElementVideo.Play();
    66                 }
    66                 }
    67                 catch (Exception ex ) { }
    67                 catch (Exception ex ) { }
       
    68                 ButtonPlayPause.Background = FindResource("[Skin_1]_Pause_button_xaml") as Brush;
    68             }
    69             }
    69             else//Pause
    70             else//Pause
    70             {
    71             {
    71                 play = false;
    72                 play = false;
    72                 try
    73                 try
    73                 {
    74                 {
    74                     MediaElementVideo.Pause();
    75                     MediaElementVideo.Pause();
    75                 }
    76                 }
    76                 catch (Exception exx ) { }
    77                 catch (Exception exx ) { }
       
    78                 ButtonPlayPause.Background = FindResource("[Skin_1]_Play_button_xaml") as Brush;
    77             }
    79             }
    78         }
    80         }
    79 	}
    81 	}
    80 }
    82 }