[mono-vb] Wait for key press

Yeek martin505 at tiscalinet.ch
Thu Sep 9 09:15:54 EDT 2010

Your code (and mine as well) work just perfectly fine. The problem I had was
indeed located elsewhere: In my program a Form 1 is started first and
pressing a button on this form shows a Form 2. Form 2 then is supposed to
show a picture AFTER a key press. The glitch now was that I can put the
'WaitForKeyPress' function in the load event of Form 2 with .NET but this
does not work in MONO. I have to put the 'WaitForKeyPress' function into the
Shown event of Form 2 and then it works like a charm (and it does so also
with .NET).

View this message in context: http://mono.1490590.n4.nabble.com/Wait-for-key-press-tp2526099p2532833.html
Sent from the Mono - VB mailing list archive at Nabble.com.

More information about the Mono-vb mailing list