Exemple #1
0
 private void btnPlay_MouseDown(object sender, MouseButtonEventArgs e)
 {
     if (btnPlay.ToolTip.ToString() != "播放")
     {
         LrcController.SetButtonChanged(sender, 2);
         LrcController.SetPlay();
     }
     else
     {
         LrcController.SetButtonChanged(sender, 3);
         LrcController.SetPause();
     }
 }
Exemple #2
0
 private void TextBlock_MouseDown_2(object sender, MouseButtonEventArgs e)
 {
     LrcController.lrcWindow.Hide();
     LrcController.SetButtonChanged(sender, -1);
     base.Hide();
 }
Exemple #3
0
 private void Image_MouseDown(object sender, MouseButtonEventArgs e)
 {
     LrcController.SetButtonChanged(sender, 0);
 }