Executing Pause
The following routine shows how to issue a PAUSE from Visual Basic using the Pause method.
VB Example:
Sub btnPause_Click( _
ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles btnPause.Click
m_spel.Pause()
btnPause.Enabled = False
btnContinue.Enabled = True
End Sub
C# Examples:
void btnPause_Click(object sender, EventArgs e)
{
m_spel.Pause();
btnPause.Enabled = false;
btnContinue.Enabled = true;
}