PC Review


Reply
Thread Tools Rate Thread

c# auto close

 
 
=?Utf-8?B?Q2hyaXM=?=
Guest
Posts: n/a
 
      21st Feb 2007
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?
 
Reply With Quote
 
 
 
 
PokerMan
Guest
Posts: n/a
 
      21st Feb 2007
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.



"Chris" <(E-Mail Removed)> wrote in message
news:17414669-CB42-43EB-A7EB-(E-Mail Removed)...
> 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?



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
On close or auto close in Access DB =?Utf-8?B?WFA=?= Microsoft Access VBA Modules 1 20th Nov 2006 06:20 PM
Can I stop the close method in an auto close macro =?Utf-8?B?UGF1bA==?= Microsoft Excel Programming 2 17th Nov 2006 02:48 PM
Auto Excel workbook close: save= false during an auto subroutine =?Utf-8?B?dG9td2FzaGVyZTI=?= Microsoft Excel Programming 10 16th Jun 2005 06:23 AM
Close all programs / Shut Down windows does not auto close outlook =?Utf-8?B?TUtlcw==?= Microsoft Word Document Management 2 22nd Aug 2004 11:11 PM
Re: Auto start and Auto close presentation TAJ Simmons Microsoft Powerpoint 0 15th Jul 2003 04:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:24 AM.