以下のコード スニペットがあります。
'Handle level specific properties
Select Case ScoreCard.CurrentDifficulty
Case 1
intImageCount = 2 'This is the number of images to show at any given time on screen +1
'debug
ScoreCard.CurrentDifficulty = 6
Case 2
intImageCount = 3 'This is the number of images to show at any given time on screen +1
Case 3
intImageCount = 5 'This is the number of images to show at any given time on screen +1
Case 4
intImageCount = 2 'This is the number of images to show at any given time on screen +1
Case 5
intImageCount = 5 'This is the number of images to show at any given time on screen +1
Case 6
frmLevel3_HouseOfMirrors.Show()
Me.Close()
Return
End Select
When case 6
is execute が実行されfrm3_HouseOfMirrors.Show()
、新しいフォームが開きます。Me.close
同様に実行されますが、私の問題は、スクリプトがリターン行に到達することです。me.Close()
現在のフォームでのコードの実行をすべて停止し、メモリから自分自身をアンロードすることを想定していませんか?