示例#1
0
 /// <summary>
 ///     Handles the MouseUp event of the btnPlay control.
 /// </summary>
 private void btnPlay_MouseUp(object sender, MouseEventArgs e)
 {
     if (Sample == null)
     {
         return;
     }
     BassPlayer.PauseSample(Sample);
 }
示例#2
0
 public void Pause()
 {
     if (Sample == null)
     {
         return;
     }
     BassPlayer.PauseSample(Sample);
 }