Beispiel #1
0
 private void stop_Click(object sender, EventArgs e)
 {
     if ((m_player != null) && (m_player.Playing))
     {
         m_player.Stop();
     }
     else if ((m_recorder != null) && (m_recorder.Recording))
     {
         m_recorder.Stop();
     }
 }
Beispiel #2
0
 private void StopButton_Click(object sender, RoutedEventArgs e)
 {
     player.Stop();
 }