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

I was hoping there would be an easier way. This is my first C# project and my first time I have developed for the Pocket PC. I think I will just set the forms to close instead of minimize except the main one with the menu on.

Thanks

John


>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform