L
Larry
I have a VB background and am developing a new windows app in Csharp.
I'm getting the error.
'inaccessible due to its protection level'
I've added a TextBox1 and a Button1 to a form.
I double click the Button1 button.
inside the method I type
string strName;
strName = TextBox1.text;
when I go into debug mode I get the error.
'inaccessible due to its protection level'
and TextBox1.text is highlighted.
I'm getting the error.
'inaccessible due to its protection level'
I've added a TextBox1 and a Button1 to a form.
I double click the Button1 button.
inside the method I type
string strName;
strName = TextBox1.text;
when I go into debug mode I get the error.
'inaccessible due to its protection level'
and TextBox1.text is highlighted.