Re: Dialogs and other forms showing in Running Program List

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: John T (jt_at_his.isp)
Date: 04/22/04


Date: Thu, 22 Apr 2004 11:12:14 -0400


"Jon Skeet [C# MVP]" <skeet@pobox.com> wrote in message
news:MPG.1af1d5624434955c98a720@msnews.microsoft.com
>
> Yuk. I suppose that would probably work, but it's absolutely foul.
> I'll suggest it to my other colleagues - from a distance!

No, it's not pretty, but it's better than having your users be able to pick
any of the forms currently loaded by your app and losing their place or not
being able to get back to where they need to be.

IMO, this is a significant shortcoming of the CF. If I show a modal dialog,
my expectation is that form will be the only one listed for my application
in "Running Programs". Beyond that, if the CF absolutely must show all open
forms, then my expectation is that clicking on any of those form names in
"Running Programs" will show the current modal dialog - not the form clicked
by the user.

If anybody knows a better way of dealing with this, I'm all ears, but this
is the simplest method I've found yet.

-- 
John T
http://tknowlogy.com/TknoFlyer
____________________