c# auto close

G

Guest

how to create this app:

- when you launches an app, it will start working. When it has finished, a
new form with info will be shown (with a button). Then, the app waits i.e. 5
secs for user. User within these 5 secs can click the button and the form
will be close (and the app exits) or after this time the form will close
automatically (and the app exits).

do I need threads? any ideas?
 
P

PokerMan

Yes.

On close of the main app form, open a new form.

That form starts a timer of 5 seconds

On 5 seconds elapse that form does a this.Close() or an Application.Exit if
you want everything to close assuming that isnt the only form open at this
stage.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top