Access to other forms objects

  • Thread starter Thread starter SOS
  • Start date Start date
S

SOS

Hi guys ,
i have 2 win from in my app. and i have a text box on my from 1.
how can i a access to this text box from form 2 ?

Thanx
 
Have the handler for Form 1 call Form 2. Something like ...

private void mnuAbout_Click( object sender, System.EventArgs e )
{
Form frm = new frmAbout( );
frm.ShowDialog( this );
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top