Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recursive clear
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01399152
Message ID:
01399177
Vues:
47
This message has been marked as a message which has helped to the initial question of the thread.
>>>Paul,
>>>
>>>It stopped working :((((((((
>>
>>Change this:
>>
>>
>>this.RecursiveClearTextBoxes(this.btnClear.Parent.Controls);
>>// to
>>Button button = (Button)sender;
>>this.RecursiveClearTextBoxes(button.Parent.Controls);
>>
>
>I believe it should work the same.

If btnClear is directly on the form then it's the same (and a bit redundant - if it was on the form directly you don't need to access it's parent). If it's in a container then the two lines are different.

>The other problem - is there a way to not declare a private property of the form.

What do you mean to "not declare a private property"?

>I have this
>
> private DecodeControl deScan = new DecodeControl();
>
>and I decided to test with emulator instead - because this is how it worked before. But now I'm getting a different error (not supported device) - so I would have to comment this out.
>
>Any way to have the property defined?

From the description, no idea. How about posting the full error message?
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform