Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
JumpStart - Pocket PC application
Message
De
23/04/2009 10:44:37
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01396003
Message ID:
01396083
Vues:
55
>>>Hi everybody,
>>>
>>>I was trying to go through Pocket PC Jump Start application (Jump Start: Creating a PocketPC Application - C# ), but on this step
>>>
>>>In the Solution Explorer, right-click CustomerOrdersForm.cs and select View Code from the shortcut menu. Scroll to the bottom of the source code file and change:
>>>
>>>Application.Run(new Form1());
>>>To…
>>>
>>>
>>>Application.Run(new CustomerOrdersForm());
>>>---------------------------------------------------------------------------------------------------------
>>>I could not find this code. I'm disregarding it for now, also to this point I don't see any MereMortals specific stuff yet. As I understand, I should use base Windows controls, right?
>>>
>>>Thanks in advance.
>>
>>The documentation was not updated for VS2008 as of yet and the code you are referencing is now in the Program.cs file. I beleive if you check it the line you are requested to change is already taken care of. There isn't any MM controls that I know of for this application type, but the demonstration is for accessing MM data via the web service using an MM data Access web service. I hope that helps.
>>Tim
>
>Do we have any sample accessing local SQL Server CE data?
>
>Also do you know in Windows Forms how can I clear all controls? I added Clear button which I'd like to clear text in all the textboxes, how can I do this in Windows Forms?
>
>Thanks.

Hmm, I really haven't used the PocketPC stuff much but would like to get more into it. Are you thinking of data possibly on a local Bluetooth network or data on the PocketPC?

If the windows forms controls you are referring to are bound in MM then it would be easy enough to clear them but if they are not you might have to loop through the controls collection to do that. I am thinking maybe it was Kevin Marois that had a thread about this reall recently. If they are bound you should be able to just get rid of the data they are bound to.
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform