Calling form controls

  • Thread starter Thread starter Daniel Moth
  • Start date Start date
D

Daniel Moth

Are the controls on the other form declared as private (the default in C#)?
If they are. you have to change that to e.g. internal (which is the default
in VB)

Cheers
Daniel
 
Why can't I call another form's controls? Whether I use the singleton
method for my forms or not, I can't seem to call them. I just need to
change a label on another form before the form is shown yet I don't have
access to the label. Here's how I call the form:

frmAbout.GetInstance().Show();

Can anyone tell me what simple thing I am missing in order to access other
controls on other forms.

Thanks
 
Back
Top