468,527 Members | 2,070 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,527 developers. It's quick & easy.

Another Form1_Load function?

Joe
Is there another Form1_Load function?

I need to call a function to exit but I want to have it called right after
the User interface have been loaded and appeared on screen. Right now the
Load function doesn't load the User interface to be viewable and the code I
call the exit function in the load function doesn't really help in my cause.

I like to call exit right after the form has been loaded, is there such a
function?
Feb 5 '06 #1
4 2139
Joe,

I'm kind of confused why you want to exit the form right after it loads.
What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Joe" <jo*******@yahoo.com> wrote in message
news:%2*****************@tk2msftngp13.phx.gbl...
Is there another Form1_Load function?

I need to call a function to exit but I want to have it called right after
the User interface have been loaded and appeared on screen. Right now
the
Load function doesn't load the User interface to be viewable and the code
I
call the exit function in the load function doesn't really help in my
cause.

I like to call exit right after the form has been loaded, is there such a
function?

Feb 5 '06 #2
Joe
I like the program to be called by the taskmanager. Onces it called, it
will do something. And then exit. Of course I like to see the UI while its
doing the tasks.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP15.phx.gbl...
Joe,

I'm kind of confused why you want to exit the form right after it
loads.
What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Joe" <jo*******@yahoo.com> wrote in message
news:%2*****************@tk2msftngp13.phx.gbl...
Is there another Form1_Load function?

I need to call a function to exit but I want to have it called right
after
the User interface have been loaded and appeared on screen. Right now
the
Load function doesn't load the User interface to be viewable and the code
I
call the exit function in the load function doesn't really help in my
cause.

I like to call exit right after the form has been loaded, is there such a
function?


Feb 5 '06 #3
Joe wrote:
I like the program to be called by the taskmanager. Onces it called, it
will do something. And then exit. Of course I like to see the UI while its [The program called by task manager doesn't exit right away unless you
close it, it seems pretty confusing to me . I know you want to hoop up
some events like Form_PostUnload().]
doing the tasks.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP15.phx.gbl...
Joe,

I'm kind of confused why you want to exit the form right after it
loads.
What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Joe" <jo*******@yahoo.com> wrote in message
news:%2*****************@tk2msftngp13.phx.gbl...
Is there another Form1_Load function?

I need to call a function to exit but I want to have it called right
after
the User interface have been loaded and appeared on screen. Right now
the
Load function doesn't load the User interface to be viewable and the code
I
call the exit function in the load function doesn't really help in my
cause.

I like to call exit right after the form has been loaded, is there such a
function?


Feb 5 '06 #4
Joe <jo*******@yahoo.com> wrote:
I like the program to be called by the taskmanager. Onces it called, it
will do something. And then exit. Of course I like to see the UI while its
doing the tasks.


It sounds like you should be creating a new thread when the app is
loaded, updating the UI in a thread-safe way using
Control.Invoke/BeginInvoke, and then exiting the application
afterwards.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Feb 5 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by David Miller | last post: by
4 posts views Thread by tshad | last post: by
2 posts views Thread by Carla Simeoni | last post: by
10 posts views Thread by Paul E Collins | last post: by
reply views Thread by =?Utf-8?B?Q2hyaXMgSGxhZGU=?= | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.