I
Irfan
hi,
In C#.Net, if i have a form1 and i want to access one of the controls of
form2(eg a label) from Form1, it gives an error.
(Label1 is Inaccessible, due to its protection level)
However, i was able to do the same is vb.net.
How to get around with this inaccessibility. Do i have to create wrapper in
form2 everytime i want to access one of the control of form1.
TIA
Irfan
In C#.Net, if i have a form1 and i want to access one of the controls of
form2(eg a label) from Form1, it gives an error.
(Label1 is Inaccessible, due to its protection level)
However, i was able to do the same is vb.net.
How to get around with this inaccessibility. Do i have to create wrapper in
form2 everytime i want to access one of the control of form1.
TIA
Irfan