I understood that he was trying to change the declaration of the control.
e.g. trying to change
protected TextBox Name
to
public TextBox Name
What I'm proposing is adding a public property which simply delegates to
the control declaration.
I tested this prior to posting, hoping to verify that the designer won't
remark the property (it doesn't) - I also noted that it doesn't remark
the control declaration either (certainly not when changing protected to
public in the code editor - I also tried switching back and forth between
the form view, html view and code view), so I dunno what problem arvee is
having.
"MasterGaurav" <ga**********@gmail.com> wrote in
news:11**********************@g43g2000cwa.googlegr oups.com:
Hi Lee,
This is where arvee is having trouble.
The VS.Net designer re-marks them as "protected" everything it is
accessed in DesignMode.
But arvee,
I think it can be made public in the "properties" pane. Right click
the control, select properties and make it "public" through that entry.
You should be able to do it.
--
Cheers,
Gaurav Vaish
http://mastergaurav.blogspot.com
http://mastergaurav.org
------------------