T
Thomas Johansen
Hi
I do have problems doing the follwing.
I create a new form form a thread in my application by using
Application.Run(myForm). Thats works fine, but how do I terminate that form
again ?. The only way I can do that without an ThreadAbortException is to
press the cross in the menu bar, but it schould close itself when job is
done without a user to do so. (I cannt handle the ThreadAbortException in
comapct framework)
Is it possible to make it terminate it self, or is there any why of closing
it?
If I call the ShowDialog() within its constructor I can close it without an
exception, but then I have to move the mouse across the dialog, before
something is shown.
How can I make the dialog update it self, so its shown when created ?
Any helt appriciated..
/Thomas
I do have problems doing the follwing.
I create a new form form a thread in my application by using
Application.Run(myForm). Thats works fine, but how do I terminate that form
again ?. The only way I can do that without an ThreadAbortException is to
press the cross in the menu bar, but it schould close itself when job is
done without a user to do so. (I cannt handle the ThreadAbortException in
comapct framework)
Is it possible to make it terminate it self, or is there any why of closing
it?
If I call the ShowDialog() within its constructor I can close it without an
exception, but then I have to move the mouse across the dialog, before
something is shown.
How can I make the dialog update it self, so its shown when created ?
Any helt appriciated..
/Thomas