Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Showing a form
Message
From
05/05/2004 15:30:31
 
General information
Forum:
ASP.NET
Category:
Mobile development
Title:
Miscellaneous
Thread ID:
00901256
Message ID:
00901321
Views:
15
John,

You could use a FormsHandler. I use a static ArrayList to which I add every form that I open. If you did the same thing, you could check if the form is already in the ArrayList, add it if it's not, and then Show it.

~~Bonnie


>I use the following code to open a form which is called from a menu.
>
>frmAnimalsReport AnimalsReport = new frmAnimalsReport() ;
>AnimalsReport.Show() ;
>
>
>This works ok, but because the form is minimised every time the form is run it creates a new instance. How can I check if the form has been loaded and if it has, just show it?
>
>This is a Pocket PC application written in C#
>
>Thanks
>
>John
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform