コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void StackPanel_MouseEnter(object sender, MouseEventArgs e)
 {
     backgroundMusic.PlayButtonEnter();
 }
コード例 #2
0
 /// <summary>
 /// The sound will play when mouse enter different TabItem.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void TabItem_MouseEnter(object sender, MouseEventArgs e)
 {
     musicPlayer.PlayButtonEnter();
 }