Abort after pause

You can also execute the Stop method if you don't want to continue after a pause.

VB Example:

Sub btnStop_Click( _  
       ByVal sender As System.Object, _  
       ByVal e As System.EventArgs) _  
       Handles btnStop.Click  
  
    m_spel.Stop()  
    btnContinue.Enabled = False  
    btnPause.Enabled = False  
End Sub  

C# Examples:

void btnStop_Click(object sender, EventArgs e)  
{  
 m_spel.Stop();  
 btnContinue.Enabled = true;  
 btnPause.Enabled = false;  
}