M
marcusy3k
Hi,
I have a base form, it has 2 textboxs (textbox1, textbox2).
When I inherit a new form from the base form, all of the textbox controls
appear correctly, however, when I try to add below code on the new form in
order to assign a value to textbox1, e.g.
textbox1.Text = "123";
the compiler said the "textbox1.Text is inaccessible due to its protection
level"
how can I fix it ?
Thanks,
Marcus
I have a base form, it has 2 textboxs (textbox1, textbox2).
When I inherit a new form from the base form, all of the textbox controls
appear correctly, however, when I try to add below code on the new form in
order to assign a value to textbox1, e.g.
textbox1.Text = "123";
the compiler said the "textbox1.Text is inaccessible due to its protection
level"
how can I fix it ?
Thanks,
Marcus