Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recursive clear
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01399152
Message ID:
01399177
Views:
46
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
Previous
Reply
Map
View

Click here to load this message in the networking platform